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 / CheckEmptyBranch / CheckEmptyBranch.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/CheckEmptyBranch/CheckEmptyBranch.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/staticcheck/testdata/src/CheckEmptyBranch/CheckEmptyBranch.go
deleted file mode 100644 (file)
index 60595ec..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-package pkg
-
-func fn1() {
-       if true { // want `empty branch`
-       }
-       if true { // want `empty branch`
-       } else { // want `empty branch`
-       }
-       if true {
-               println()
-       }
-
-       if true {
-               println()
-       } else { // want `empty branch`
-       }
-
-       if true { // want `empty branch`
-               // TODO handle error
-       }
-
-       if true {
-       } else {
-               println()
-       }
-
-       if true {
-       } else if false { // want `empty branch`
-       }
-}