diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2022-05-09 10:56:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 10:56:13 +0200 |
commit | ab728e9ccfff2d1ac6362b22b579b00120a39f67 (patch) | |
tree | c7577ea32790d8814ade1431b927035da76df23a /cli/tools/test.rs | |
parent | d0f5cd6a069e6a416e58b4ece456d134135b11d3 (diff) |
feat(test): change "failures:" headers in test report (#14490)
Diffstat (limited to 'cli/tools/test.rs')
-rw-r--r-- | cli/tools/test.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/tools/test.rs b/cli/tools/test.rs index dc3eeba3b..38c6919cc 100644 --- a/cli/tools/test.rs +++ b/cli/tools/test.rs @@ -452,7 +452,7 @@ impl TestReporter for PrettyTestReporter { fn report_summary(&mut self, summary: &TestSummary, elapsed: &Duration) { if !summary.failures.is_empty() { let mut failure_titles = vec![]; - println!("\nfailures:\n"); + println!("\n{}\n", colors::white_bold_on_red(" ERRORS ")); for (description, js_error) in &summary.failures { let failure_title = format!( "{} {}", @@ -475,7 +475,7 @@ impl TestReporter for PrettyTestReporter { failure_titles.push(failure_title); } - println!("failures:\n"); + println!("{}\n", colors::white_bold_on_red(" FAILURES ")); for failure_title in failure_titles { println!("{}", failure_title); } |