File tree 3 files changed +5
-9
lines changed
3 files changed +5
-9
lines changed Original file line number Diff line number Diff line change @@ -1061,9 +1061,7 @@ fn bench_all_exclude() {
1061
1061
execs ( ) . with_status ( 0 )
1062
1062
. with_stdout_contains ( "\
1063
1063
running 1 test
1064
- test bar ... bench: 0 ns/iter (+/- 0)
1065
-
1066
- test result: ok. 0 passed; 0 failed; 0 ignored; 1 measured" ) ) ;
1064
+ test bar ... bench: 0 ns/iter (+/- 0)" ) ) ;
1067
1065
}
1068
1066
1069
1067
#[ test]
Original file line number Diff line number Diff line change @@ -2841,9 +2841,9 @@ fn build_all_exclude() {
2841
2841
. arg ( "--exclude" )
2842
2842
. arg ( "baz" ) ,
2843
2843
execs ( ) . with_status ( 0 )
2844
- . with_stderr ( "[..] Compiling bar v0.1.0 ( [..]) \n \
2845
- [..] Compiling foo v0.1.0 ( [..]) \n \
2846
- [..] Finished dev [unoptimized + debuginfo] target(s) in [ ..]\n ") ) ;
2844
+ . with_stderr_contains ( "[..]Compiling foo v0.1.0 [..]" )
2845
+ . with_stderr_contains ( " [..]Compiling bar v0.1.0 [..]" )
2846
+ . with_stderr_does_not_contain ( " [..]Compiling baz v0.1.0 [ ..]") ) ;
2847
2847
}
2848
2848
2849
2849
#[ test]
Original file line number Diff line number Diff line change @@ -2418,9 +2418,7 @@ fn test_all_exclude() {
2418
2418
. arg ( "baz" ) ,
2419
2419
execs ( ) . with_status ( 0 )
2420
2420
. with_stdout_contains ( "running 1 test
2421
- test bar ... ok
2422
-
2423
- test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured" ) ) ;
2421
+ test bar ... ok" ) ) ;
2424
2422
}
2425
2423
2426
2424
#[ test]
You can’t perform that action at this time.
0 commit comments