Skip to content

Commit 4976b9b

Browse files
committed
Strip testdata path from subtests name
1 parent 49cfa14 commit 4976b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/gojunitreport/go-junit-report_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ func TestRun(t *testing.T) {
4444
continue
4545
}
4646

47-
t.Run(file, func(t *testing.T) {
47+
t.Run(filepath.Base(file), func(t *testing.T) {
4848
testRun(file, testDataDir+reportFile, conf, t)
4949
})
5050
}

0 commit comments

Comments
 (0)