File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3471,7 +3471,7 @@ fn rebuild_only_on_explicit_paths() {
3471
3471
3472
3472
// random other files do not affect freshness
3473
3473
println ! ( "run baz" ) ;
3474
- p. change_file ( "baz" , "" ) ;
3474
+ p. change_file ( "baz" , "// modified " ) ;
3475
3475
p. cargo ( "build -v" )
3476
3476
. with_stderr (
3477
3477
"\
@@ -3483,7 +3483,7 @@ fn rebuild_only_on_explicit_paths() {
3483
3483
3484
3484
// but changing dependent files does
3485
3485
println ! ( "run foo change" ) ;
3486
- p. change_file ( "foo" , "" ) ;
3486
+ p. change_file ( "foo" , "// modified " ) ;
3487
3487
p. cargo ( "build -v" )
3488
3488
. with_stderr (
3489
3489
"\
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ fn rerun_if_env_or_file_changes() {
96
96
. with_stderr ( "[FINISHED] [..]" )
97
97
. run ( ) ;
98
98
sleep_ms ( 1000 ) ;
99
- p. change_file ( "foo" , "" ) ;
99
+ p. change_file ( "foo" , "// modified " ) ;
100
100
p. cargo ( "check" )
101
101
. env ( "FOO" , "bar" )
102
102
. with_stderr (
Original file line number Diff line number Diff line change @@ -1522,7 +1522,7 @@ fn bust_patched_dep() {
1522
1522
sleep_ms ( 1000 ) ;
1523
1523
}
1524
1524
1525
- p. change_file ( "reg1new/src/lib.rs" , "" ) ;
1525
+ p. change_file ( "reg1new/src/lib.rs" , "// modified " ) ;
1526
1526
if is_coarse_mtime ( ) {
1527
1527
sleep_ms ( 1000 ) ;
1528
1528
}
You can’t perform that action at this time.
0 commit comments