File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -592,15 +592,15 @@ args: []
592
592
#[ cargo_test]
593
593
fn script_like_dir ( ) {
594
594
let p = cargo_test_support:: project ( )
595
- . file ( "script .rs/foo" , "something" )
595
+ . file ( "foo .rs/foo" , "something" )
596
596
. build ( ) ;
597
597
598
- p. cargo ( "-Zscript -v script .rs" )
598
+ p. cargo ( "-Zscript -v foo .rs" )
599
599
. masquerade_as_nightly_cargo ( & [ "script" ] )
600
600
. with_status ( 101 )
601
601
. with_stderr (
602
602
"\
603
- error: manifest path `script .rs` is a directory but expected a file
603
+ error: manifest path `foo .rs` is a directory but expected a file
604
604
" ,
605
605
)
606
606
. run ( ) ;
@@ -610,12 +610,12 @@ error: manifest path `script.rs` is a directory but expected a file
610
610
fn missing_script_rs ( ) {
611
611
let p = cargo_test_support:: project ( ) . build ( ) ;
612
612
613
- p. cargo ( "-Zscript -v script .rs" )
613
+ p. cargo ( "-Zscript -v foo .rs" )
614
614
. masquerade_as_nightly_cargo ( & [ "script" ] )
615
615
. with_status ( 101 )
616
616
. with_stderr (
617
617
"\
618
- [ERROR] manifest path `script .rs` does not exist
618
+ [ERROR] manifest path `foo .rs` does not exist
619
619
" ,
620
620
)
621
621
. run ( ) ;
You can’t perform that action at this time.
0 commit comments