@@ -37,6 +37,7 @@ func TestAutogeneratedNoIssues(t *testing.T) {
3737
3838 testshared .NewRunnerBuilder (t ).
3939 WithConfig (cfg ).
40+ WithArgs ("--show-stats=false" ).
4041 WithTargetPath (testdataDir , "autogenerated" ).
4142 WithBinPath (binPath ).
4243 Runner ().
@@ -47,6 +48,7 @@ func TestAutogeneratedNoIssues(t *testing.T) {
4748func TestEmptyDirRun (t * testing.T ) {
4849 testshared .NewRunnerBuilder (t ).
4950 WithEnviron ("GO111MODULE=off" ).
51+ WithArgs ("--show-stats=false" ).
5052 WithTargetPath (testdataDir , "nogofiles" ).
5153 Runner ().
5254 Install ().
@@ -69,6 +71,7 @@ func TestNotExistingDirRun(t *testing.T) {
6971
7072func TestSymlinkLoop (t * testing.T ) {
7173 testshared .NewRunnerBuilder (t ).
74+ WithArgs ("--show-stats=false" ).
7275 WithTargetPath (testdataDir , "symlink_loop" , "..." ).
7376 Runner ().
7477 Install ().
@@ -120,7 +123,9 @@ func TestTestsAreLintedByDefault(t *testing.T) {
120123func TestCgoOk (t * testing.T ) {
121124 testshared .NewRunnerBuilder (t ).
122125 WithNoConfig ().
123- WithArgs ("--timeout=3m" ,
126+ WithArgs (
127+ "--timeout=3m" ,
128+ "--show-stats=false" ,
124129 "--enable-all" ,
125130 ).
126131 WithTargetPath (testdataDir , "cgo" ).
@@ -358,7 +363,10 @@ func TestUnsafeOk(t *testing.T) {
358363
359364 testshared .NewRunnerBuilder (t ).
360365 WithConfig (cfg ).
361- WithArgs ("--enable-all" ).
366+ WithArgs (
367+ "--show-stats=false" ,
368+ "--enable-all" ,
369+ ).
362370 WithTargetPath (testdataDir , "unsafe" ).
363371 WithBinPath (binPath ).
364372 Runner ().
@@ -371,7 +379,10 @@ func TestSortedResults(t *testing.T) {
371379
372380 testshared .NewRunnerBuilder (t ).
373381 WithNoConfig ().
374- WithArgs ("--output.text.print-issued-lines=false" ).
382+ WithArgs (
383+ "--show-stats=false" ,
384+ "--output.text.print-issued-lines=false" ,
385+ ).
375386 WithTargetPath (testdataDir , "sort_results" ).
376387 WithBinPath (binPath ).
377388 Runner ().
@@ -385,7 +396,11 @@ func TestSortedResults(t *testing.T) {
385396func TestIdentifierUsedOnlyInTests (t * testing.T ) {
386397 testshared .NewRunnerBuilder (t ).
387398 WithNoConfig ().
388- WithArgs ("--disable-all" , "-Eunused" ).
399+ WithArgs (
400+ "--show-stats=false" ,
401+ "--disable-all" ,
402+ "-Eunused" ,
403+ ).
389404 WithTargetPath (testdataDir , "used_only_in_tests" ).
390405 Runner ().
391406 Install ().
@@ -395,6 +410,7 @@ func TestIdentifierUsedOnlyInTests(t *testing.T) {
395410
396411func TestUnusedCheckExported (t * testing.T ) {
397412 testshared .NewRunnerBuilder (t ).
413+ WithArgs ("--show-stats=false" ).
398414 WithConfigFile ("testdata_etc/unused_exported/golangci.yml" ).
399415 WithTargetPath ("testdata_etc/unused_exported/..." ).
400416 Runner ().
0 commit comments