some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / staticcheck / testdata / src / CheckDoubleNegation / CheckDoubleNegation.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckDoubleNegation/CheckDoubleNegation.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckDoubleNegation/CheckDoubleNegation.go
deleted file mode 100644 (file)
index b230a23..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package pkg
-
-func fn(b1, b2 bool) {
-       if !!b1 { // want `negating a boolean twice`
-               println()
-       }
-
-       if b1 && !!b2 { // want `negating a boolean twice`
-               println()
-       }
-
-       if !(!b1) { // want `negating a boolean twice`
-               println()
-       }
-
-       if !b1 {
-               println()
-       }
-
-       if !b1 && !b2 {
-               println()
-       }
-}