Debian Codegraph @

src/cmd/go/testdata/script/test_match_no_tests_with_subtests.txt

raw
1 # Matches no tests with subtests
2 go test -run ThisWillNotMatch standalone_sub_test.go
3 stdout '^ok.*\[no tests to run\]'
4
5 -- standalone_sub_test.go --
6 package standalone_sub_test
7
8 import "testing"
9
10 func Test(t *testing.T) {
11 t.Run("Sub", func(t *testing.T) {})
12 }