github.com/vanstinator/golangci-lint@v0.0.0-20240223191551-cc572f00d9d1/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 }