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 / CheckErrorVarNames / CheckErrorVarNames.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/CheckErrorVarNames/CheckErrorVarNames.go b/.config/coc/extensions/coc-go-data/tools/pkg/mod/honnef.co/go/tools@v0.0.1-2020.1.5/stylecheck/testdata/src/CheckErrorVarNames/CheckErrorVarNames.go
deleted file mode 100644 (file)
index 5652ef9..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// Package pkg ...
-package pkg
-
-import (
-       "errors"
-       "fmt"
-)
-
-var (
-       foo                   = errors.New("") // want `error var foo should have name of the form errFoo`
-       errBar                = errors.New("")
-       qux, fisk, errAnother = errors.New(""), errors.New(""), errors.New("") // want `error var qux should have name of the form errFoo` `error var fisk should have name of the form errFoo`
-       abc                   = fmt.Errorf("")                                 // want `error var abc should have name of the form errFoo`
-
-       errAbc = fmt.Errorf("")
-)
-
-var wrong = errors.New("") // want `error var wrong should have name of the form errFoo`
-
-var result = fn()
-
-func fn() error { return nil }