We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69c77ee commit e8c3c34Copy full SHA for e8c3c34
src/cmd/go/testdata/script/test_skip.txt
@@ -13,13 +13,19 @@ stdout RUN.*Test2/3
13
go test -v -skip 2/3 skip_test.go
14
stdout RUN.*Test1
15
stdout RUN.*Test2
16
+stdout RUN.*ExampleTest1
17
! stdout Test2/3
18
19
go test -v -skip 2/4 skip_test.go
20
21
22
stdout RUN.*Test2/3
23
24
25
+go test -v -skip Example skip_test.go
26
+stdout RUN.*Test1
27
+stdout RUN.*Test2
28
+stdout RUN.*Test2/3
29
30
-- skip_test.go --
31
package skip_test
@@ -32,3 +38,7 @@ func Test1(t *testing.T) {
32
38
func Test2(t *testing.T) {
33
39
t.Run("3", func(t *testing.T) {})
34
40
}
41
+
42
+func ExampleTest1() {
43
+ // Output:
44
+}
0 commit comments