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() {
34713471
34723472 // random other files do not affect freshness
34733473 println ! ( "run baz" ) ;
3474- p. change_file ( "baz" , "" ) ;
3474+ p. change_file ( "baz" , "// modified " ) ;
34753475 p. cargo ( "build -v" )
34763476 . with_stderr (
34773477 "\
@@ -3483,7 +3483,7 @@ fn rebuild_only_on_explicit_paths() {
34833483
34843484 // but changing dependent files does
34853485 println ! ( "run foo change" ) ;
3486- p. change_file ( "foo" , "" ) ;
3486+ p. change_file ( "foo" , "// modified " ) ;
34873487 p. cargo ( "build -v" )
34883488 . with_stderr (
34893489 "\
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ fn rerun_if_env_or_file_changes() {
9696 . with_stderr ( "[FINISHED] [..]" )
9797 . run ( ) ;
9898 sleep_ms ( 1000 ) ;
99- p. change_file ( "foo" , "" ) ;
99+ p. change_file ( "foo" , "// modified " ) ;
100100 p. cargo ( "check" )
101101 . env ( "FOO" , "bar" )
102102 . with_stderr (
Original file line number Diff line number Diff line change @@ -1522,7 +1522,7 @@ fn bust_patched_dep() {
15221522 sleep_ms ( 1000 ) ;
15231523 }
15241524
1525- p. change_file ( "reg1new/src/lib.rs" , "" ) ;
1525+ p. change_file ( "reg1new/src/lib.rs" , "// modified " ) ;
15261526 if is_coarse_mtime ( ) {
15271527 sleep_ms ( 1000 ) ;
15281528 }
You can’t perform that action at this time.
0 commit comments