Skip to content

Commit 85d3723

Browse files
authored
junit: fix log message about used files
Currently the log message always print the glob pattern. For instance: > using test times from JUnit report tmp/*.junit.xml > using test times from JUnit report tmp/*.junit.xml Instead the actual file name should be used: > using test times from JUnit report tmp/report_0.junit.xml > using test times from JUnit report tmp/report_1.junit.xml
1 parent 2d20187 commit 85d3723

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

junit.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func getFileTimesFromJUnitXML(fileTimes map[string]float64) {
4747
if err != nil {
4848
fatalMsg("failed to open junit xml: %v\n", err)
4949
}
50-
printMsg("using test times from JUnit report %s\n", junitXMLPath)
50+
printMsg("using test times from JUnit report %s\n", junitFilename)
5151
addFileTimesFromIOReader(fileTimes, file)
5252
file.Close()
5353
}

0 commit comments

Comments
 (0)