@@ -218,7 +218,7 @@ impl TestStatus for TextTest {
218
218
} else {
219
219
let result = match result {
220
220
Ok ( TestOk :: Ok ) => "ok" . green ( ) ,
221
- Err ( Errored { .. } ) => "FAILED" . red ( ) . bold ( ) ,
221
+ Err ( Errored { .. } ) => "FAILED" . bright_red ( ) . bold ( ) ,
222
222
Ok ( TestOk :: Ignored ) => "ignored (in-test comment)" . yellow ( ) ,
223
223
Ok ( TestOk :: Filtered ) => return ,
224
224
} ;
@@ -247,7 +247,7 @@ impl TestStatus for TextTest {
247
247
if !self . revision . is_empty ( ) {
248
248
write ! ( path, " (revision `{}`)" , self . revision) . unwrap ( ) ;
249
249
}
250
- let text = format ! ( "{} {path}" , "FAILED TEST:" . red ( ) ) ;
250
+ let text = format ! ( "{} {path}" , "FAILED TEST:" . bright_red ( ) ) ;
251
251
252
252
println ! ( ) ;
253
253
println ! ( "{}" , text. bold( ) . underline( ) ) ;
@@ -371,12 +371,12 @@ impl StatusEmitter for Text {
371
371
372
372
impl Drop for Summarizer {
373
373
fn drop ( & mut self ) {
374
- println ! ( "{}" , "FAILURES:" . red ( ) . underline( ) . bold( ) ) ;
374
+ println ! ( "{}" , "FAILURES:" . bright_red ( ) . underline( ) . bold( ) ) ;
375
375
for line in & self . failures {
376
376
println ! ( "{line}" ) ;
377
377
}
378
378
println ! ( ) ;
379
- print ! ( "test result: {}." , "FAIL" . red ( ) ) ;
379
+ print ! ( "test result: {}." , "FAIL" . bright_red ( ) ) ;
380
380
print ! ( " {} failed;" , self . failures. len( ) . to_string( ) . green( ) ) ;
381
381
if self . succeeded > 0 {
382
382
print ! ( " {} passed;" , self . succeeded. to_string( ) . green( ) ) ;
@@ -405,7 +405,7 @@ fn print_error(error: &Error, path: &Path) {
405
405
/// Every error starts with a header like that, to make them all easy to find.
406
406
/// It is made to look like the headers printed for spanned errors.
407
407
fn print_error_header ( msg : impl Display ) {
408
- let text = format ! ( "{} {msg}" , "error:" . red ( ) ) ;
408
+ let text = format ! ( "{} {msg}" , "error:" . bright_red ( ) ) ;
409
409
println ! ( "{}" , text. bold( ) ) ;
410
410
}
411
411
0 commit comments