Skip to content

Commit 38cbded

Browse files
authored
Merge pull request kitproj#4 from psturc/fix-remove-errors-from-passed
fix: remove errors from list of passed tests
2 parents e3e756e + 309b0a2 commit 38cbded

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/convert/convert.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func Convert(suites *reporters.JUnitTestSuites) (string, error) {
4545
for _, s := range suites.TestSuites {
4646
printSuiteHeader(s)
4747
for _, c := range s.TestCases {
48-
if c.Failure == nil {
48+
if c.Failure == nil && c.Error == nil {
4949
printTest(s, c)
5050
}
5151
}

0 commit comments

Comments
 (0)