mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-04 21:12:53 -05:00
Remove unused function
This commit is contained in:
@ -135,15 +135,6 @@ func JUnitReportXML(report *parser.Report, noXMLHeader bool, goVersion string, w
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func countFailures(tests []parser.Test) (result int) {
|
|
||||||
for _, test := range tests {
|
|
||||||
if test.Result == parser.FAIL {
|
|
||||||
result++
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return
|
|
||||||
}
|
|
||||||
|
|
||||||
func formatTime(time int) string {
|
func formatTime(time int) string {
|
||||||
return fmt.Sprintf("%.3f", float64(time)/1000.0)
|
return fmt.Sprintf("%.3f", float64(time)/1000.0)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user