fixed summary
This commit is contained in:
parent
52c060b315
commit
f6b65ee12a
@ -153,11 +153,12 @@ func main() {
|
||||
suite.TestCount-suite.Failures-suite.Errors-suite.Skipped-suite.Disabled,
|
||||
suite.Failures, suite.Errors, suite.Disabled, suite.Skipped)
|
||||
}
|
||||
fmt.Fprintf(w, "\n%s\t%10d\t%10d\t%10d\t%10d\t%10d\t%10d\n",
|
||||
fmt.Fprintf(w, "%s\t%-10d\t%-10d\t%-10d\t%-10d\t%-10d\t%-10d\n",
|
||||
"TOTAL",
|
||||
testsuites.Tests,
|
||||
testsuites.Tests-testsuites.Failures-testsuites.Errors-testsuites.Skipped-testsuites.Disabled,
|
||||
testsuites.Failures, testsuites.Errors, testsuites.Disabled, testsuites.Skipped)
|
||||
w.Flush()
|
||||
|
||||
if testsuites.Failures+testsuites.Errors+testsuites.Skipped+testsuites.Disabled > 0 {
|
||||
fmt.Printf("\nFAILED TESTS\n\n")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user