Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / stylecheck / testdata / src / CheckIncDec.disabled / 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 }