Skip to content

Commit

Permalink
[SUREFIRE-2196] maven-surefire-report-plugin:failsafe-report-only fai…
Browse files Browse the repository at this point in the history
…led: Unmatched braces in the pattern
  • Loading branch information
michael-o committed Oct 15, 2023
1 parent 0a5dba8 commit edfb965
Showing 1 changed file with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,20 @@ private void constructTestCaseSection(ReportTestCase testCase) {
if (!testCase.isSuccessful()) {
String message = testCase.getFailureMessage();
if (message != null) {
tableRow(new String[] {"", message, ""});
sink.tableRow();

tableCell("");

sink.tableCell();

//This shall not be subject to #linkPatternedText()
text(message);

sink.tableCell_();

tableCell("");

sink.tableRow_();
}

String detail = testCase.getFailureDetail();
Expand Down Expand Up @@ -498,7 +511,12 @@ private void renderSectionFailureDetails() {

tableCell("");

tableCell(message == null ? type : type + ": " + message);
sink.tableCell();

//This shall not be subject to #linkPatternedText()
text(message == null ? type : type + ": " + message);

sink.tableCell_();

sink.tableRow_();

Expand Down

0 comments on commit edfb965

Please sign in to comment.