github.com/chenfeining/golangci-lint@v1.0.2-0.20230730162517-14c6c67868df/test/testdata/tparallel_missing_toplevel_test.go (about) 1 //golangcitest:args -Etparallel 2 package testdata 3 4 import ( 5 "testing" 6 ) 7 8 func TestTopLevel(t *testing.T) { // want "TestTopLevel should call t.Parallel on the top level as well as its subtests" 9 t.Run("", func(t *testing.T) { 10 t.Parallel() 11 }) 12 }