aboutsummaryrefslogtreecommitdiff
path: root/beku_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2019-03-28 06:14:40 +0700
committerShulhan <ms@kilabit.info>2019-03-30 03:33:31 +0700
commit9adf103d29e1c08f45918630c4a1997d09176ff3 (patch)
treed12ed0199c2823cfcb07ab7943613953b0dca926 /beku_test.go
parent103cbe9e53bcd72ecfde1961c6ed997eb8035472 (diff)
downloadbeku-9adf103d29e1c08f45918630c4a1997d09176ff3.tar.xz
all: suppress linter warnings on global variables and long lines
This including the copy of subpackage.
Diffstat (limited to 'beku_test.go')
-rw-r--r--beku_test.go12
1 files changed, 6 insertions, 6 deletions
diff --git a/beku_test.go b/beku_test.go
index e3ac977..209f630 100644
--- a/beku_test.go
+++ b/beku_test.go
@@ -22,13 +22,13 @@ const (
testPkgNotExist = "github.com/shuLhan/notexist"
)
-var ( // nolint: gochecknoglobals
- testEnv *Env
- testGitPkgCur *Package
- testGitPkgNew *Package
- testGitPkgInstall *Package
+var (
+ testEnv *Env //nolint: gochecknoglobals
+ testGitPkgCur *Package //nolint: gochecknoglobals
+ testGitPkgNew *Package //nolint: gochecknoglobals
+ testGitPkgInstall *Package //nolint: gochecknoglobals
- testGitRepoSrcLocal = "/testdata/beku_test.git"
+ testGitRepoSrcLocal = "/testdata/beku_test.git" //nolint: gochecknoglobals
)
func TestMain(m *testing.M) {