diff --git a/src/go/types/check_test.go b/src/go/types/check_test.go index a5008e54ba..142d221502 100644 --- a/src/go/types/check_test.go +++ b/src/go/types/check_test.go @@ -480,7 +480,7 @@ func testPkg(t *testing.T, filenames []string, manual bool) { if len(fs) == 0 { t.Skip("all files skipped by build tags") } - testFiles(t, filenames, srcs, manual) + testFiles(t, fs, srcs, manual) } // shouldTest checks build tags in src and returns whether the file