From ab728e9ccfff2d1ac6362b22b579b00120a39f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Mon, 9 May 2022 10:56:13 +0200 Subject: feat(test): change "failures:" headers in test report (#14490) --- cli/tools/test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tools') 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); } -- cgit v1.2.3