File tree 1 file changed +9
-4
lines changed
1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -1065,14 +1065,19 @@ fn doesnt_rebuild_dependencies() {
1065
1065
p. cargo ( "fix --allow-no-vcs -p foo" )
1066
1066
. env ( "__CARGO_FIX_YOLO" , "1" )
1067
1067
. with_stdout ( "" )
1068
- . with_stderr_contains ( "[CHECKING] bar v0.1.0 ([..])" )
1069
- . with_stderr_contains ( "[CHECKING] foo v0.1.0 ([..])" )
1068
+ . with_stderr ( "\
1069
+ [CHECKING] bar v0.1.0 ([..])
1070
+ [CHECKING] foo v0.1.0 ([..])
1071
+ [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
1072
+ " )
1070
1073
. run ( ) ;
1071
1074
1072
1075
p. cargo ( "fix --allow-no-vcs -p foo" )
1073
1076
. env ( "__CARGO_FIX_YOLO" , "1" )
1074
1077
. with_stdout ( "" )
1075
- . with_stderr_does_not_contain ( "[CHECKING] bar v0.1.0 ([..])" )
1076
- . with_stderr_contains ( "[CHECKING] foo v0.1.0 ([..])" )
1078
+ . with_stderr ( "\
1079
+ [CHECKING] foo v0.1.0 ([..])
1080
+ [FINISHED] dev [unoptimized + debuginfo] target(s) in [..]
1081
+ " )
1077
1082
. run ( ) ;
1078
1083
}
You can’t perform that action at this time.
0 commit comments