Skip to content

Commit

Permalink
Enhance the output of the memory-footprint tool (#7)
Browse files Browse the repository at this point in the history
This makes passes and failures much more prominent.

Co-authored-by: Roberto Cosenza <robcos@google.com>
  • Loading branch information
robcos and robcos authored Jan 16, 2024
1 parent 8cbf77b commit c749b1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
class TestResultFormatter {

static String formatSuccess(String successMessage) {
return String.format("[MEMORY_FOOTPRINT]: %s ✅ ", successMessage);
return String.format("[MEMORY_FOOTPRINT]: ✅PASS✅ %s ✅ ", successMessage);
}

static String formatFailure(String failedMessage) {
return String.format("[MEMORY_FOOTPRINT]: %s ❌ ", failedMessage);
return String.format("[MEMORY_FOOTPRINT]: ❌FAIL❌ %s ❌ ", failedMessage);
}

static String formatException(String exceptionMessage) {
Expand Down

0 comments on commit c749b1d

Please sign in to comment.