File tree Expand file tree Collapse file tree
crates/libtest2-harness/src/notify Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ mod json;
33#[ cfg( feature = "junit" ) ]
44mod junit;
55mod pretty;
6+ mod style;
67mod summary;
78mod terse;
89
@@ -11,6 +12,7 @@ pub(crate) use json::*;
1112#[ cfg( feature = "junit" ) ]
1213pub ( crate ) use junit:: * ;
1314pub ( crate ) use pretty:: * ;
15+ pub ( crate ) use style:: * ;
1416pub ( crate ) use summary:: * ;
1517pub ( crate ) use terse:: * ;
1618
@@ -96,10 +98,3 @@ impl From<Elapsed> for String {
9698 elapsed. 0 . as_secs_f64 ( ) . to_string ( )
9799 }
98100}
99-
100- const FAILED : anstyle:: Style =
101- anstyle:: Style :: new ( ) . fg_color ( Some ( anstyle:: Color :: Ansi ( anstyle:: AnsiColor :: Red ) ) ) ;
102- const OK : anstyle:: Style =
103- anstyle:: Style :: new ( ) . fg_color ( Some ( anstyle:: Color :: Ansi ( anstyle:: AnsiColor :: Green ) ) ) ;
104- const IGNORED : anstyle:: Style =
105- anstyle:: Style :: new ( ) . fg_color ( Some ( anstyle:: Color :: Ansi ( anstyle:: AnsiColor :: Yellow ) ) ) ;
Original file line number Diff line number Diff line change 1+ pub ( crate ) const FAILED : anstyle:: Style =
2+ anstyle:: Style :: new ( ) . fg_color ( Some ( anstyle:: Color :: Ansi ( anstyle:: AnsiColor :: Red ) ) ) ;
3+ pub ( crate ) const OK : anstyle:: Style =
4+ anstyle:: Style :: new ( ) . fg_color ( Some ( anstyle:: Color :: Ansi ( anstyle:: AnsiColor :: Green ) ) ) ;
5+ pub ( crate ) const IGNORED : anstyle:: Style =
6+ anstyle:: Style :: new ( ) . fg_color ( Some ( anstyle:: Color :: Ansi ( anstyle:: AnsiColor :: Yellow ) ) ) ;
You can’t perform that action at this time.
0 commit comments