blob: 0d9491861e1b976ed5090b553f2dccf59f44468f [file] [log] [blame]
# Matches no tests with subtests
go test -run ThisWillNotMatch standalone_sub_test.go
stdout '^ok.*\[no tests to run\]'
-- standalone_sub_test.go --
package standalone_sub_test
import "testing"
func Test(t *testing.T) {
t.Run("Sub", func(t *testing.T) {})
}