@@ -22,7 +22,7 @@ import (
2222var root = filepath .Join (".." , "..." )
2323var installOnce sync.Once
2424
25- const noIssuesOut = "Congrats! No issues were found. \n "
25+ const noIssuesOut = ""
2626
2727func installBinary (t assert.TestingT ) {
2828 installOnce .Do (func () {
@@ -36,8 +36,8 @@ func checkNoIssuesRun(t *testing.T, out string, exitCode int) {
3636 assert .Equal (t , noIssuesOut , out )
3737}
3838
39- func TestCongratsMessageGoneIfSilent (t * testing.T ) {
40- out , exitCode := runGolangciLint (t , "../..." , "-s" )
39+ func TestNoCongratsMessage (t * testing.T ) {
40+ out , exitCode := runGolangciLint (t , "../..." )
4141 assert .Equal (t , exitcodes .Success , exitCode )
4242 assert .Equal (t , "" , out )
4343}
@@ -72,7 +72,6 @@ func TestDeadline(t *testing.T) {
7272 out , exitCode := runGolangciLint (t , "--deadline=1ms" , root )
7373 assert .Equal (t , exitcodes .Timeout , exitCode )
7474 assert .Contains (t , out , "deadline exceeded: try increase it by passing --deadline option" )
75- assert .NotContains (t , out , "Congrats! No issues were found." )
7675}
7776
7877func runGolangciLint (t * testing.T , args ... string ) (string , int ) {
0 commit comments