Skip to content

Commit f8662a5

Browse files
dnephinBryan C. Mills
authored and
Bryan C. Mills
committed
cmd/test2json: attribute output to the correct test
When printing regular test output check the indentation of the output, and use the report stack to find the appropriate test name for that output. This change includes a whitespace change to some golden test files. The indentation of tests was changed in CL 113177 from tabs to spaces. The golden files have been updated to match the new output format. The tabs in the golden files cause problems because the indentation check looks for 4 spaces. Fixes #29755 Updates #25369 Change-Id: Iebab51816a9755168083a7a665b41497e9dfd85f GitHub-Last-Rev: 898827f GitHub-Pull-Request: #34419 Reviewed-on: https://go-review.googlesource.com/c/go/+/196617 Reviewed-by: Bryan C. Mills <[email protected]>
1 parent eecc628 commit f8662a5

File tree

7 files changed

+120
-45
lines changed

7 files changed

+120
-45
lines changed

src/cmd/internal/test2json/test2json.go

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,18 @@ func (c *converter) handleInputLine(line []byte) {
211211
}
212212
}
213213

214+
// Not a special test output line.
214215
if !ok {
215-
// Not a special test output line.
216+
// Lookup the name of the test which produced the output using the
217+
// indentation of the output as an index into the stack of the current
218+
// subtests.
219+
// If the indentation is greater than the number of current subtests
220+
// then the output must have included extra indentation. We can't
221+
// determine which subtest produced this output, so we default to the
222+
// old behaviour of assuming the most recently run subtest produced it.
223+
if indent > 0 && indent <= len(c.report) {
224+
c.testName = c.report[indent-1].Test
225+
}
216226
c.output.write(origLine)
217227
return
218228
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{"Action":"run","Test":"TestOutputWithSubtest"}
2+
{"Action":"output","Test":"TestOutputWithSubtest","Output":"=== RUN TestOutputWithSubtest\n"}
3+
{"Action":"run","Test":"TestOutputWithSubtest/sub_test"}
4+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":"=== RUN TestOutputWithSubtest/sub_test\n"}
5+
{"Action":"run","Test":"TestOutputWithSubtest/sub_test/sub2"}
6+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test/sub2","Output":"=== RUN TestOutputWithSubtest/sub_test/sub2\n"}
7+
{"Action":"run","Test":"TestOutputWithSubtest/sub_test2"}
8+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"=== RUN TestOutputWithSubtest/sub_test2\n"}
9+
{"Action":"run","Test":"TestOutputWithSubtest/sub_test2/sub2"}
10+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":"=== RUN TestOutputWithSubtest/sub_test2/sub2\n"}
11+
{"Action":"output","Test":"TestOutputWithSubtest","Output":"--- FAIL: TestOutputWithSubtest (0.00s)\n"}
12+
{"Action":"output","Test":"TestOutputWithSubtest","Output":" foo_test.go:6: output before sub tests\n"}
13+
{"Action":"output","Test":"TestOutputWithSubtest","Output":" foo_test.go:10: output from root test\n"}
14+
{"Action":"output","Test":"TestOutputWithSubtest","Output":" foo_test.go:15: output from root test\n"}
15+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":" --- PASS: TestOutputWithSubtest/sub_test (0.00s)\n"}
16+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":" foo_test.go:9: output from sub test\n"}
17+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":" foo_test.go:11: more output from sub test\n"}
18+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test","Output":" foo_test.go:16: more output from sub test\n"}
19+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test/sub2","Output":" --- PASS: TestOutputWithSubtest/sub_test/sub2 (0.00s)\n"}
20+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test/sub2","Output":" foo_test.go:14: output from sub2 test\n"}
21+
{"Action":"output","Test":"TestOutputWithSubtest","Output":" foo_test.go:22: output from root test\n"}
22+
{"Action":"output","Test":"TestOutputWithSubtest","Output":" foo_test.go:27: output from root test\n"}
23+
{"Action":"pass","Test":"TestOutputWithSubtest/sub_test/sub2"}
24+
{"Action":"pass","Test":"TestOutputWithSubtest/sub_test"}
25+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":" --- PASS: TestOutputWithSubtest/sub_test2 (0.00s)\n"}
26+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":" foo_test.go:21: output from sub test2\n"}
27+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":" foo_test.go:23: more output from sub test2\n"}
28+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":" foo_test.go:28: more output from sub test2\n"}
29+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":" --- PASS: TestOutputWithSubtest/sub_test2/sub2 (0.00s)\n"}
30+
{"Action":"output","Test":"TestOutputWithSubtest/sub_test2/sub2","Output":" foo_test.go:26: output from sub2 test\n"}
31+
{"Action":"output","Test":"TestOutputWithSubtest","Output":" foo_test.go:32: output after sub test\n"}
32+
{"Action":"pass","Test":"TestOutputWithSubtest/sub_test2/sub2"}
33+
{"Action":"pass","Test":"TestOutputWithSubtest/sub_test2"}
34+
{"Action":"fail","Test":"TestOutputWithSubtest"}
35+
{"Action":"output","Output":"FAIL\n"}
36+
{"Action":"output","Output":"FAIL\tgotest.tools/gotestsum/foo\t0.001s\n"}
37+
{"Action":"output","Output":"FAIL\n"}
38+
{"Action":"fail"}
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
=== RUN TestOutputWithSubtest
2+
=== RUN TestOutputWithSubtest/sub_test
3+
=== RUN TestOutputWithSubtest/sub_test/sub2
4+
=== RUN TestOutputWithSubtest/sub_test2
5+
=== RUN TestOutputWithSubtest/sub_test2/sub2
6+
--- FAIL: TestOutputWithSubtest (0.00s)
7+
foo_test.go:6: output before sub tests
8+
foo_test.go:10: output from root test
9+
foo_test.go:15: output from root test
10+
--- PASS: TestOutputWithSubtest/sub_test (0.00s)
11+
foo_test.go:9: output from sub test
12+
foo_test.go:11: more output from sub test
13+
foo_test.go:16: more output from sub test
14+
--- PASS: TestOutputWithSubtest/sub_test/sub2 (0.00s)
15+
foo_test.go:14: output from sub2 test
16+
foo_test.go:22: output from root test
17+
foo_test.go:27: output from root test
18+
--- PASS: TestOutputWithSubtest/sub_test2 (0.00s)
19+
foo_test.go:21: output from sub test2
20+
foo_test.go:23: more output from sub test2
21+
foo_test.go:28: more output from sub test2
22+
--- PASS: TestOutputWithSubtest/sub_test2/sub2 (0.00s)
23+
foo_test.go:26: output from sub2 test
24+
foo_test.go:32: output after sub test
25+
FAIL
26+
FAIL gotest.tools/gotestsum/foo 0.001s
27+
FAIL

src/cmd/internal/test2json/testdata/smiley.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@
116116
{"Action":"output","Test":"Test☺☹/2","Output":"=== CONT Test☺☹/2\n"}
117117
{"Action":"output","Test":"TestTags","Output":"--- PASS: TestTags (0.00s)\n"}
118118
{"Action":"output","Test":"TestTags/x_testtag_y","Output":" --- PASS: TestTags/x_testtag_y (0.04s)\n"}
119-
{"Action":"output","Test":"TestTags/x_testtag_y","Output":" \tvet_test.go:187: -tags=x testtag y\n"}
119+
{"Action":"output","Test":"TestTags/x_testtag_y","Output":" vet_test.go:187: -tags=x testtag y\n"}
120120
{"Action":"pass","Test":"TestTags/x_testtag_y"}
121121
{"Action":"output","Test":"TestTags/x,testtag,y","Output":" --- PASS: TestTags/x,testtag,y (0.04s)\n"}
122-
{"Action":"output","Test":"TestTags/x,testtag,y","Output":" \tvet_test.go:187: -tags=x,testtag,y\n"}
122+
{"Action":"output","Test":"TestTags/x,testtag,y","Output":" vet_test.go:187: -tags=x,testtag,y\n"}
123123
{"Action":"pass","Test":"TestTags/x,testtag,y"}
124124
{"Action":"output","Test":"TestTags/testtag","Output":" --- PASS: TestTags/testtag (0.04s)\n"}
125-
{"Action":"output","Test":"TestTags/testtag","Output":" \tvet_test.go:187: -tags=testtag\n"}
125+
{"Action":"output","Test":"TestTags/testtag","Output":" vet_test.go:187: -tags=testtag\n"}
126126
{"Action":"pass","Test":"TestTags/testtag"}
127127
{"Action":"pass","Test":"TestTags"}
128128
{"Action":"cont","Test":"Test☺☹/1"}
@@ -139,28 +139,28 @@
139139
{"Action":"output","Test":"Test☺☹Dirs/cgo","Output":"=== CONT Test☺☹Dirs/cgo\n"}
140140
{"Action":"output","Test":"Test☺☹","Output":"--- PASS: Test☺☹ (0.39s)\n"}
141141
{"Action":"output","Test":"Test☺☹/5","Output":" --- PASS: Test☺☹/5 (0.07s)\n"}
142-
{"Action":"output","Test":"Test☺☹/5","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/copylock_func.go\" \"testdata/rangeloop.go\"]\n"}
142+
{"Action":"output","Test":"Test☺☹/5","Output":" vet_test.go:114: φιλεσ: [\"testdata/copylock_func.go\" \"testdata/rangeloop.go\"]\n"}
143143
{"Action":"pass","Test":"Test☺☹/5"}
144144
{"Action":"output","Test":"Test☺☹/3","Output":" --- PASS: Test☺☹/3 (0.07s)\n"}
145-
{"Action":"output","Test":"Test☺☹/3","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/composite.go\" \"testdata/nilfunc.go\"]\n"}
145+
{"Action":"output","Test":"Test☺☹/3","Output":" vet_test.go:114: φιλεσ: [\"testdata/composite.go\" \"testdata/nilfunc.go\"]\n"}
146146
{"Action":"pass","Test":"Test☺☹/3"}
147147
{"Action":"output","Test":"Test☺☹/6","Output":" --- PASS: Test☺☹/6 (0.07s)\n"}
148-
{"Action":"output","Test":"Test☺☹/6","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/copylock_range.go\" \"testdata/shadow.go\"]\n"}
148+
{"Action":"output","Test":"Test☺☹/6","Output":" vet_test.go:114: φιλεσ: [\"testdata/copylock_range.go\" \"testdata/shadow.go\"]\n"}
149149
{"Action":"pass","Test":"Test☺☹/6"}
150150
{"Action":"output","Test":"Test☺☹/2","Output":" --- PASS: Test☺☹/2 (0.07s)\n"}
151-
{"Action":"output","Test":"Test☺☹/2","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/bool.go\" \"testdata/method.go\" \"testdata/unused.go\"]\n"}
151+
{"Action":"output","Test":"Test☺☹/2","Output":" vet_test.go:114: φιλεσ: [\"testdata/bool.go\" \"testdata/method.go\" \"testdata/unused.go\"]\n"}
152152
{"Action":"pass","Test":"Test☺☹/2"}
153153
{"Action":"output","Test":"Test☺☹/0","Output":" --- PASS: Test☺☹/0 (0.13s)\n"}
154-
{"Action":"output","Test":"Test☺☹/0","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/assign.go\" \"testdata/httpresponse.go\" \"testdata/structtag.go\"]\n"}
154+
{"Action":"output","Test":"Test☺☹/0","Output":" vet_test.go:114: φιλεσ: [\"testdata/assign.go\" \"testdata/httpresponse.go\" \"testdata/structtag.go\"]\n"}
155155
{"Action":"pass","Test":"Test☺☹/0"}
156156
{"Action":"output","Test":"Test☺☹/4","Output":" --- PASS: Test☺☹/4 (0.16s)\n"}
157-
{"Action":"output","Test":"Test☺☹/4","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/copylock.go\" \"testdata/print.go\"]\n"}
157+
{"Action":"output","Test":"Test☺☹/4","Output":" vet_test.go:114: φιλεσ: [\"testdata/copylock.go\" \"testdata/print.go\"]\n"}
158158
{"Action":"pass","Test":"Test☺☹/4"}
159159
{"Action":"output","Test":"Test☺☹/1","Output":" --- PASS: Test☺☹/1 (0.07s)\n"}
160-
{"Action":"output","Test":"Test☺☹/1","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/atomic.go\" \"testdata/lostcancel.go\" \"testdata/unsafeptr.go\"]\n"}
160+
{"Action":"output","Test":"Test☺☹/1","Output":" vet_test.go:114: φιλεσ: [\"testdata/atomic.go\" \"testdata/lostcancel.go\" \"testdata/unsafeptr.go\"]\n"}
161161
{"Action":"pass","Test":"Test☺☹/1"}
162162
{"Action":"output","Test":"Test☺☹/7","Output":" --- PASS: Test☺☹/7 (0.19s)\n"}
163-
{"Action":"output","Test":"Test☺☹/7","Output":" \tvet_test.go:114: φιλεσ: [\"testdata/deadcode.go\" \"testdata/shift.go\"]\n"}
163+
{"Action":"output","Test":"Test☺☹/7","Output":" vet_test.go:114: φιλεσ: [\"testdata/deadcode.go\" \"testdata/shift.go\"]\n"}
164164
{"Action":"pass","Test":"Test☺☹/7"}
165165
{"Action":"pass","Test":"Test☺☹"}
166166
{"Action":"output","Test":"Test☺☹Dirs","Output":"--- PASS: Test☺☹Dirs (0.01s)\n"}

src/cmd/internal/test2json/testdata/smiley.test

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,11 @@
5858
=== CONT Test☺☹/2
5959
--- PASS: TestTags (0.00s)
6060
--- PASS: TestTags/x_testtag_y (0.04s)
61-
vet_test.go:187: -tags=x testtag y
61+
vet_test.go:187: -tags=x testtag y
6262
--- PASS: TestTags/x,testtag,y (0.04s)
63-
vet_test.go:187: -tags=x,testtag,y
63+
vet_test.go:187: -tags=x,testtag,y
6464
--- PASS: TestTags/testtag (0.04s)
65-
vet_test.go:187: -tags=testtag
65+
vet_test.go:187: -tags=testtag
6666
=== CONT Test☺☹/1
6767
=== CONT Test☺☹Dirs/testingpkg
6868
=== CONT Test☺☹Dirs/buildtag
@@ -71,21 +71,21 @@
7171
=== CONT Test☺☹Dirs/cgo
7272
--- PASS: Test☺☹ (0.39s)
7373
--- PASS: Test☺☹/5 (0.07s)
74-
vet_test.go:114: φιλεσ: ["testdata/copylock_func.go" "testdata/rangeloop.go"]
74+
vet_test.go:114: φιλεσ: ["testdata/copylock_func.go" "testdata/rangeloop.go"]
7575
--- PASS: Test☺☹/3 (0.07s)
76-
vet_test.go:114: φιλεσ: ["testdata/composite.go" "testdata/nilfunc.go"]
76+
vet_test.go:114: φιλεσ: ["testdata/composite.go" "testdata/nilfunc.go"]
7777
--- PASS: Test☺☹/6 (0.07s)
78-
vet_test.go:114: φιλεσ: ["testdata/copylock_range.go" "testdata/shadow.go"]
78+
vet_test.go:114: φιλεσ: ["testdata/copylock_range.go" "testdata/shadow.go"]
7979
--- PASS: Test☺☹/2 (0.07s)
80-
vet_test.go:114: φιλεσ: ["testdata/bool.go" "testdata/method.go" "testdata/unused.go"]
80+
vet_test.go:114: φιλεσ: ["testdata/bool.go" "testdata/method.go" "testdata/unused.go"]
8181
--- PASS: Test☺☹/0 (0.13s)
82-
vet_test.go:114: φιλεσ: ["testdata/assign.go" "testdata/httpresponse.go" "testdata/structtag.go"]
82+
vet_test.go:114: φιλεσ: ["testdata/assign.go" "testdata/httpresponse.go" "testdata/structtag.go"]
8383
--- PASS: Test☺☹/4 (0.16s)
84-
vet_test.go:114: φιλεσ: ["testdata/copylock.go" "testdata/print.go"]
84+
vet_test.go:114: φιλεσ: ["testdata/copylock.go" "testdata/print.go"]
8585
--- PASS: Test☺☹/1 (0.07s)
86-
vet_test.go:114: φιλεσ: ["testdata/atomic.go" "testdata/lostcancel.go" "testdata/unsafeptr.go"]
86+
vet_test.go:114: φιλεσ: ["testdata/atomic.go" "testdata/lostcancel.go" "testdata/unsafeptr.go"]
8787
--- PASS: Test☺☹/7 (0.19s)
88-
vet_test.go:114: φιλεσ: ["testdata/deadcode.go" "testdata/shift.go"]
88+
vet_test.go:114: φιλεσ: ["testdata/deadcode.go" "testdata/shift.go"]
8989
--- PASS: Test☺☹Dirs (0.01s)
9090
--- PASS: Test☺☹Dirs/testingpkg (0.06s)
9191
--- PASS: Test☺☹Dirs/divergent (0.05s)

src/cmd/internal/test2json/testdata/vet.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,13 @@
116116
{"Action":"output","Test":"TestVet/2","Output":"=== CONT TestVet/2\n"}
117117
{"Action":"output","Test":"TestTags","Output":"--- PASS: TestTags (0.00s)\n"}
118118
{"Action":"output","Test":"TestTags/x_testtag_y","Output":" --- PASS: TestTags/x_testtag_y (0.04s)\n"}
119-
{"Action":"output","Test":"TestTags/x_testtag_y","Output":" \tvet_test.go:187: -tags=x testtag y\n"}
119+
{"Action":"output","Test":"TestTags/x_testtag_y","Output":" vet_test.go:187: -tags=x testtag y\n"}
120120
{"Action":"pass","Test":"TestTags/x_testtag_y"}
121121
{"Action":"output","Test":"TestTags/x,testtag,y","Output":" --- PASS: TestTags/x,testtag,y (0.04s)\n"}
122-
{"Action":"output","Test":"TestTags/x,testtag,y","Output":" \tvet_test.go:187: -tags=x,testtag,y\n"}
122+
{"Action":"output","Test":"TestTags/x,testtag,y","Output":" vet_test.go:187: -tags=x,testtag,y\n"}
123123
{"Action":"pass","Test":"TestTags/x,testtag,y"}
124124
{"Action":"output","Test":"TestTags/testtag","Output":" --- PASS: TestTags/testtag (0.04s)\n"}
125-
{"Action":"output","Test":"TestTags/testtag","Output":" \tvet_test.go:187: -tags=testtag\n"}
125+
{"Action":"output","Test":"TestTags/testtag","Output":" vet_test.go:187: -tags=testtag\n"}
126126
{"Action":"pass","Test":"TestTags/testtag"}
127127
{"Action":"pass","Test":"TestTags"}
128128
{"Action":"cont","Test":"TestVet/1"}
@@ -139,28 +139,28 @@
139139
{"Action":"output","Test":"TestVetDirs/cgo","Output":"=== CONT TestVetDirs/cgo\n"}
140140
{"Action":"output","Test":"TestVet","Output":"--- PASS: TestVet (0.39s)\n"}
141141
{"Action":"output","Test":"TestVet/5","Output":" --- PASS: TestVet/5 (0.07s)\n"}
142-
{"Action":"output","Test":"TestVet/5","Output":" \tvet_test.go:114: files: [\"testdata/copylock_func.go\" \"testdata/rangeloop.go\"]\n"}
142+
{"Action":"output","Test":"TestVet/5","Output":" vet_test.go:114: files: [\"testdata/copylock_func.go\" \"testdata/rangeloop.go\"]\n"}
143143
{"Action":"pass","Test":"TestVet/5"}
144144
{"Action":"output","Test":"TestVet/3","Output":" --- PASS: TestVet/3 (0.07s)\n"}
145-
{"Action":"output","Test":"TestVet/3","Output":" \tvet_test.go:114: files: [\"testdata/composite.go\" \"testdata/nilfunc.go\"]\n"}
145+
{"Action":"output","Test":"TestVet/3","Output":" vet_test.go:114: files: [\"testdata/composite.go\" \"testdata/nilfunc.go\"]\n"}
146146
{"Action":"pass","Test":"TestVet/3"}
147147
{"Action":"output","Test":"TestVet/6","Output":" --- PASS: TestVet/6 (0.07s)\n"}
148-
{"Action":"output","Test":"TestVet/6","Output":" \tvet_test.go:114: files: [\"testdata/copylock_range.go\" \"testdata/shadow.go\"]\n"}
148+
{"Action":"output","Test":"TestVet/6","Output":" vet_test.go:114: files: [\"testdata/copylock_range.go\" \"testdata/shadow.go\"]\n"}
149149
{"Action":"pass","Test":"TestVet/6"}
150150
{"Action":"output","Test":"TestVet/2","Output":" --- PASS: TestVet/2 (0.07s)\n"}
151-
{"Action":"output","Test":"TestVet/2","Output":" \tvet_test.go:114: files: [\"testdata/bool.go\" \"testdata/method.go\" \"testdata/unused.go\"]\n"}
151+
{"Action":"output","Test":"TestVet/2","Output":" vet_test.go:114: files: [\"testdata/bool.go\" \"testdata/method.go\" \"testdata/unused.go\"]\n"}
152152
{"Action":"pass","Test":"TestVet/2"}
153153
{"Action":"output","Test":"TestVet/0","Output":" --- PASS: TestVet/0 (0.13s)\n"}
154-
{"Action":"output","Test":"TestVet/0","Output":" \tvet_test.go:114: files: [\"testdata/assign.go\" \"testdata/httpresponse.go\" \"testdata/structtag.go\"]\n"}
154+
{"Action":"output","Test":"TestVet/0","Output":" vet_test.go:114: files: [\"testdata/assign.go\" \"testdata/httpresponse.go\" \"testdata/structtag.go\"]\n"}
155155
{"Action":"pass","Test":"TestVet/0"}
156156
{"Action":"output","Test":"TestVet/4","Output":" --- PASS: TestVet/4 (0.16s)\n"}
157-
{"Action":"output","Test":"TestVet/4","Output":" \tvet_test.go:114: files: [\"testdata/copylock.go\" \"testdata/print.go\"]\n"}
157+
{"Action":"output","Test":"TestVet/4","Output":" vet_test.go:114: files: [\"testdata/copylock.go\" \"testdata/print.go\"]\n"}
158158
{"Action":"pass","Test":"TestVet/4"}
159159
{"Action":"output","Test":"TestVet/1","Output":" --- PASS: TestVet/1 (0.07s)\n"}
160-
{"Action":"output","Test":"TestVet/1","Output":" \tvet_test.go:114: files: [\"testdata/atomic.go\" \"testdata/lostcancel.go\" \"testdata/unsafeptr.go\"]\n"}
160+
{"Action":"output","Test":"TestVet/1","Output":" vet_test.go:114: files: [\"testdata/atomic.go\" \"testdata/lostcancel.go\" \"testdata/unsafeptr.go\"]\n"}
161161
{"Action":"pass","Test":"TestVet/1"}
162162
{"Action":"output","Test":"TestVet/7","Output":" --- PASS: TestVet/7 (0.19s)\n"}
163-
{"Action":"output","Test":"TestVet/7","Output":" \tvet_test.go:114: files: [\"testdata/deadcode.go\" \"testdata/shift.go\"]\n"}
163+
{"Action":"output","Test":"TestVet/7","Output":" vet_test.go:114: files: [\"testdata/deadcode.go\" \"testdata/shift.go\"]\n"}
164164
{"Action":"pass","Test":"TestVet/7"}
165165
{"Action":"pass","Test":"TestVet"}
166166
{"Action":"output","Test":"TestVetDirs","Output":"--- PASS: TestVetDirs (0.01s)\n"}

0 commit comments

Comments
 (0)