From 7836034ecf08ad1f9dfea3619c1924eb7444722e Mon Sep 17 00:00:00 2001 From: Denis Isaev Date: Wed, 7 Nov 2018 11:53:30 +0300 Subject: [PATCH] dev: fix tests --- test/run_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/run_test.go b/test/run_test.go index 4bd8c6ab..98e5d32c 100644 --- a/test/run_test.go +++ b/test/run_test.go @@ -19,8 +19,8 @@ import ( "github.com/golangci/golangci-lint/pkg/lint/lintersdb" ) -var root = filepath.Join("..", "...") -var installOnce sync.Once +var root = filepath.Join("..", "...") //nolint:gochecknoglobals +var installOnce sync.Once //nolint:gochecknoglobals const noIssuesOut = "" @@ -100,7 +100,7 @@ func runGolangciLint(t *testing.T, args ...string) (string, int) { func runGolangciLintWithYamlConfig(t *testing.T, cfg string, args ...string) string { out, ec := runGolangciLintWithYamlConfigWithCode(t, cfg, args...) - assert.Equal(t, exitcodes.Success, ec) + assert.Equal(t, exitcodes.Success, ec, out) return out }