mirror of
https://github.com/jstemmer/go-junit-report.git
synced 2025-07-05 13:32:54 -05:00
gtr: Fix skipped test output
This commit is contained in:
@ -116,7 +116,7 @@ func JUnit(report Report) junit.Testsuites {
|
|||||||
}
|
}
|
||||||
} else if test.Result == Skip {
|
} else if test.Result == Skip {
|
||||||
tc.Skipped = &junit.Result{
|
tc.Skipped = &junit.Result{
|
||||||
Data: strings.Join(test.Output, "\n"),
|
Message: strings.Join(test.Output, "\n"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
suite.AddTestcase(tc)
|
suite.AddTestcase(tc)
|
||||||
|
Reference in New Issue
Block a user