We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669852e commit 5afdb80Copy full SHA for 5afdb80
pkg/printers/junitxml.go
@@ -57,7 +57,7 @@ func (JunitXML) Print(ctx context.Context, issues []result.Issue) error {
57
ClassName: i.Pos.String(),
58
Failure: failureXML{
59
Message: i.Text,
60
- Content: strings.Join(i.SourceLines, "\n"),
+ Content: i.Text + ":\n" + strings.Join(i.SourceLines, "\n"),
61
},
62
}
63
0 commit comments