@@ -22,7 +22,7 @@ import (
22
22
var root = filepath .Join (".." , "..." )
23
23
var installOnce sync.Once
24
24
25
- const noIssuesOut = "Congrats! No issues were found. \n "
25
+ const noIssuesOut = ""
26
26
27
27
func installBinary (t assert.TestingT ) {
28
28
installOnce .Do (func () {
@@ -36,8 +36,8 @@ func checkNoIssuesRun(t *testing.T, out string, exitCode int) {
36
36
assert .Equal (t , noIssuesOut , out )
37
37
}
38
38
39
- func TestCongratsMessageGoneIfSilent (t * testing.T ) {
40
- out , exitCode := runGolangciLint (t , "../..." , "-s" )
39
+ func TestNoCongratsMessage (t * testing.T ) {
40
+ out , exitCode := runGolangciLint (t , "../..." )
41
41
assert .Equal (t , exitcodes .Success , exitCode )
42
42
assert .Equal (t , "" , out )
43
43
}
@@ -72,7 +72,6 @@ func TestDeadline(t *testing.T) {
72
72
out , exitCode := runGolangciLint (t , "--deadline=1ms" , root )
73
73
assert .Equal (t , exitcodes .Timeout , exitCode )
74
74
assert .Contains (t , out , "deadline exceeded: try increase it by passing --deadline option" )
75
- assert .NotContains (t , out , "Congrats! No issues were found." )
76
75
}
77
76
78
77
func runGolangciLint (t * testing.T , args ... string ) (string , int ) {
0 commit comments