gtr: Fix skipped test output

This commit is contained in:
Joël Stemmer 2019-10-06 18:58:18 +01:00
parent 824b607642
commit d2d65ebe03

View File

@ -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)