mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-07 14:25:44 -05:00
gtr: Fix naming of Result constants
This commit is contained in:
@ -96,13 +96,13 @@ func (b *ReportBuilder) findTest(name string) int {
|
||||
func parseResult(r string) Result {
|
||||
switch r {
|
||||
case "PASS":
|
||||
return PASS
|
||||
return Pass
|
||||
case "FAIL":
|
||||
return FAIL
|
||||
return Fail
|
||||
case "SKIP":
|
||||
return SKIP
|
||||
return Skip
|
||||
default:
|
||||
fmt.Printf("unknown result: %q\n", r)
|
||||
return UNKNOWN
|
||||
return Unknown
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user