Skip to content

Commit

Permalink
chore: Fix logging reporter summary tab indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
christophd committed Nov 13, 2024
1 parent f3dca6c commit 2efe88a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,9 @@ public void generate(TestResults testResults) {
newLine();

info(format("TOTAL:\t\t%s", testResults.getFailed() + testResults.getSuccess()));
info(format("SUCCESS:\t\t%s (%s%%)", testResults.getSuccess(), testResults.getSuccessPercentageFormatted()));
info(format("SUCCESS:\t%s (%s%%)", testResults.getSuccess(), testResults.getSuccessPercentageFormatted()));
info(format("FAILED:\t\t%s (%s%%)", testResults.getFailed(), testResults.getFailedPercentageFormatted()));
debug(format("SKIPPED:\t\t%s (%s%%)", testResults.getSkipped(), testResults.getSkippedPercentageFormatted()));
debug(format("SKIPPED:\t%s (%s%%)", testResults.getSkipped(), testResults.getSkippedPercentageFormatted()));
info(format("PERFORMANCE:\t%s ms", testResults.getTotalDuration().toMillis()));

newLine();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ void afterMethodTeardown() throws Exception {

private void verifyResultSummaryLog(int total, int success, int failed, long performance) {
verify(logger).info("TOTAL:\t\t" + total);
verify(logger).info("SUCCESS:\t\t" + success + " (" + calculatePercentage(total, success) + "%)");
verify(logger).info("SUCCESS:\t" + success + " (" + calculatePercentage(total, success) + "%)");
verify(logger).info("FAILED:\t\t" + failed + " (" + calculatePercentage(total, failed) + "%)");
verify(logger).info("PERFORMANCE:\t" + performance + " ms");
}
Expand Down

0 comments on commit 2efe88a

Please sign in to comment.