Skip to content

Commit

Permalink
Simplify link creation
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed May 19, 2023
1 parent 3580f84 commit e27ff14
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -205,7 +205,7 @@ private void renderSectionPackages() {
Map<String, Object> packageSummary = parser.getSummary(testSuiteList);

tableRow(new String[] {
'{' + packageName + ", #" + packageName + '}',
createLinkPatternedText(packageName, '#' + packageName),
String.valueOf(packageSummary.get("totalTests")),
String.valueOf(packageSummary.get("totalErrors")),
String.valueOf(packageSummary.get("totalFailures")),
Expand Down Expand Up @@ -297,7 +297,7 @@ private void renderSectionTestSuite(ReportTestSuite suite) {

sink.tableCell_();

tableCell('{' + suite.getName() + ", #" + suite.getPackageName() + '.' + suite.getName() + '}');
tableCell(createLinkPatternedText(suite.getName(), '#' + suite.getPackageName() + '.' + suite.getName()));

tableCell(Integer.toString(suite.getNumberOfTests()));

Expand Down

0 comments on commit e27ff14

Please sign in to comment.