some deletions
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / honnef.co / go / tools@v0.0.1-2020.1.5 / stylecheck / testdata / src / CheckYodaConditions / CheckYodaConditions.go
diff --git a/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/stylecheck/testdata/src/CheckYodaConditions/CheckYodaConditions.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/stylecheck/testdata/src/CheckYodaConditions/CheckYodaConditions.go
deleted file mode 100644 (file)
index 94e3c6c..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-// Package pkg ...
-package pkg
-
-func fn(x string, y int) {
-       if "" == x { // want `Yoda`
-       }
-       if 0 == y { // want `Yoda`
-       }
-       if 0 > y {
-       }
-       if "" == "" {
-       }
-
-       if "" == "" || 0 == y { // want `Yoda`
-       }
-}