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 / staticcheck / testdata / src / CheckStringsReplaceZero / CheckStringsReplaceZero.go
1 package pkg
2
3 import "strings"
4
5 func fn() {
6         _ = strings.Replace("", "", "", 0) // want `calling strings\.Replace with n == 0`
7         _ = strings.Replace("", "", "", -1)
8         _ = strings.Replace("", "", "", 1)
9 }