@@ -37,6 +37,7 @@ func TestAutogeneratedNoIssues(t *testing.T) {
37
37
38
38
testshared .NewRunnerBuilder (t ).
39
39
WithConfig (cfg ).
40
+ WithArgs ("--show-stats=false" ).
40
41
WithTargetPath (testdataDir , "autogenerated" ).
41
42
WithBinPath (binPath ).
42
43
Runner ().
@@ -47,6 +48,7 @@ func TestAutogeneratedNoIssues(t *testing.T) {
47
48
func TestEmptyDirRun (t * testing.T ) {
48
49
testshared .NewRunnerBuilder (t ).
49
50
WithEnviron ("GO111MODULE=off" ).
51
+ WithArgs ("--show-stats=false" ).
50
52
WithTargetPath (testdataDir , "nogofiles" ).
51
53
Runner ().
52
54
Install ().
@@ -69,6 +71,7 @@ func TestNotExistingDirRun(t *testing.T) {
69
71
70
72
func TestSymlinkLoop (t * testing.T ) {
71
73
testshared .NewRunnerBuilder (t ).
74
+ WithArgs ("--show-stats=false" ).
72
75
WithTargetPath (testdataDir , "symlink_loop" , "..." ).
73
76
Runner ().
74
77
Install ().
@@ -120,7 +123,9 @@ func TestTestsAreLintedByDefault(t *testing.T) {
120
123
func TestCgoOk (t * testing.T ) {
121
124
testshared .NewRunnerBuilder (t ).
122
125
WithNoConfig ().
123
- WithArgs ("--timeout=3m" ,
126
+ WithArgs (
127
+ "--timeout=3m" ,
128
+ "--show-stats=false" ,
124
129
"--enable-all" ,
125
130
).
126
131
WithTargetPath (testdataDir , "cgo" ).
@@ -358,7 +363,10 @@ func TestUnsafeOk(t *testing.T) {
358
363
359
364
testshared .NewRunnerBuilder (t ).
360
365
WithConfig (cfg ).
361
- WithArgs ("--enable-all" ).
366
+ WithArgs (
367
+ "--show-stats=false" ,
368
+ "--enable-all" ,
369
+ ).
362
370
WithTargetPath (testdataDir , "unsafe" ).
363
371
WithBinPath (binPath ).
364
372
Runner ().
@@ -371,7 +379,10 @@ func TestSortedResults(t *testing.T) {
371
379
372
380
testshared .NewRunnerBuilder (t ).
373
381
WithNoConfig ().
374
- WithArgs ("--output.text.print-issued-lines=false" ).
382
+ WithArgs (
383
+ "--show-stats=false" ,
384
+ "--output.text.print-issued-lines=false" ,
385
+ ).
375
386
WithTargetPath (testdataDir , "sort_results" ).
376
387
WithBinPath (binPath ).
377
388
Runner ().
@@ -385,7 +396,11 @@ func TestSortedResults(t *testing.T) {
385
396
func TestIdentifierUsedOnlyInTests (t * testing.T ) {
386
397
testshared .NewRunnerBuilder (t ).
387
398
WithNoConfig ().
388
- WithArgs ("--disable-all" , "-Eunused" ).
399
+ WithArgs (
400
+ "--show-stats=false" ,
401
+ "--disable-all" ,
402
+ "-Eunused" ,
403
+ ).
389
404
WithTargetPath (testdataDir , "used_only_in_tests" ).
390
405
Runner ().
391
406
Install ().
@@ -395,6 +410,7 @@ func TestIdentifierUsedOnlyInTests(t *testing.T) {
395
410
396
411
func TestUnusedCheckExported (t * testing.T ) {
397
412
testshared .NewRunnerBuilder (t ).
413
+ WithArgs ("--show-stats=false" ).
398
414
WithConfigFile ("testdata_etc/unused_exported/golangci.yml" ).
399
415
WithTargetPath ("testdata_etc/unused_exported/..." ).
400
416
Runner ().
0 commit comments