File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -639,12 +639,12 @@ fn bar() {
639639 . file ( "assets/foo.txt" , "foo" )
640640 . file ( "assets/bar.txt" , "bar" )
641641 . build ( ) ;
642- p. cargo ( "build " ) . run ( ) ;
642+ p. cargo ( "check " ) . run ( ) ;
643643
644644 // Editing foo.txt won't recompile, leading to unnoticed changes
645645
646646 p. change_file ( "assets/foo.txt" , "foo updated" ) ;
647- p. cargo ( "build -v" )
647+ p. cargo ( "check -v" )
648648 . with_stderr_data ( str![ [ r#"
649649[FRESH] foo v0.1.0 ([ROOT]/foo)
650650[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -655,7 +655,7 @@ fn bar() {
655655 // Editing bar.txt will recompile
656656
657657 p. change_file ( "assets/bar.txt" , "bar updated" ) ;
658- p. cargo ( "build -v" )
658+ p. cargo ( "check -v" )
659659 . with_stderr_data ( str![ [ r#"
660660[DIRTY] foo v0.1.0 ([ROOT]/foo): the file `assets/bar.txt` has changed ([TIME_DIFF_AFTER_LAST_BUILD])
661661[COMPILING] foo v0.1.0 ([ROOT]/foo)
You can’t perform that action at this time.
0 commit comments