blob: 7abb1eb9b66789a7fc009a43ea32df01a3e1ae3f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# The subtests don't match
go test -run Test/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) {})
}
|