c8aa51d10803801b65635f06c53e7445c083e96f
[dotfiles/.git] / CheckIncDec.go
1 // Package pkg ...
2 package pkg
3
4 func fn() {
5         var x int
6         x--
7         x++
8         x += 1 // want `should replace x \+= 1 with x\+\+`
9         x -= 1 // want `should replace x -= 1 with x--`
10         x /= 1
11         x += 2
12         x -= 2
13 }