diff --git a/renderer/junit/junit.go b/renderer/junit/junit.go index 89ca2c0..2e62a26 100644 --- a/renderer/junit/junit.go +++ b/renderer/junit/junit.go @@ -43,9 +43,9 @@ func JUnit(scoreCard *scorecard.Scorecard) io.Reader { } } else { for _, comment := range testScore.Comments { - message := comment.Summary + message := comment.Summary + ": " + comment.Description if comment.Path != "" { - message = "(" + comment.Path + ") " + comment.Summary + message = "(" + comment.Path + ") " + comment.Summary + ": " + comment.Description } if testScore.Skipped {