Skip to content

Commit

Permalink
renderer/junit: fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
zegl committed Oct 13, 2024
1 parent f2dd79e commit 8822151
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions renderer/junit/junit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,29 +99,29 @@ func TestJUnitOutput(t *testing.T) {
assert.Equal(t, `<testsuites name="kube-score" tests="10" failures="4" skipped="4">
<testsuite name="foo/foofoo v1/Testing" tests="5" failures="2" errors="0" id="0" skipped="2" time="">
<testcase name="test-warning-two-comments" classname="foo/foofoo v1/Testing">
<failure message="(a) summary"></failure>
<failure message="(a) summary: description"></failure>
</testcase>
<testcase name="test-warning-two-comments" classname="foo/foofoo v1/Testing">
<failure message="summary"></failure>
<failure message="summary: description"></failure>
</testcase>
<testcase name="test-ok-comment" classname="foo/foofoo v1/Testing"></testcase>
<testcase name="test-skipped-comment" classname="foo/foofoo v1/Testing">
<skipped message="(a) skipped sum"></skipped>
<skipped message="(a) skipped sum: skipped description"></skipped>
</testcase>
<testcase name="test-skipped-no-comment" classname="foo/foofoo v1/Testing">
<skipped message=""></skipped>
</testcase>
</testsuite>
<testsuite name="bar-no-namespace v1/Testing" tests="5" failures="2" errors="0" id="0" skipped="2" time="">
<testcase name="test-warning-two-comments" classname="bar-no-namespace v1/Testing">
<failure message="(a) summary"></failure>
<failure message="(a) summary: description"></failure>
</testcase>
<testcase name="test-warning-two-comments" classname="bar-no-namespace v1/Testing">
<failure message="summary"></failure>
<failure message="summary: description"></failure>
</testcase>
<testcase name="test-ok-comment" classname="bar-no-namespace v1/Testing"></testcase>
<testcase name="test-skipped-comment" classname="bar-no-namespace v1/Testing">
<skipped message="(a) skipped sum"></skipped>
<skipped message="(a) skipped sum: skipped description"></skipped>
</testcase>
<testcase name="test-skipped-no-comment" classname="bar-no-namespace v1/Testing">
<skipped message=""></skipped>
Expand Down

0 comments on commit 8822151

Please sign in to comment.