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 @@ -466,28 +466,28 @@ fn non_member() {
466
466
. file ( "src/lib.rs" , "" )
467
467
. build ( ) ;
468
468
469
- p. cargo ( "build -p dep --features f1" )
469
+ p. cargo ( "check -p dep --features f1" )
470
470
. with_status ( 101 )
471
471
. with_stderr ( "[ERROR] cannot specify features for packages outside of workspace" )
472
472
. run ( ) ;
473
473
474
- p. cargo ( "build -p dep --all-features" )
474
+ p. cargo ( "check -p dep --all-features" )
475
475
. with_status ( 101 )
476
476
. with_stderr ( "[ERROR] cannot specify features for packages outside of workspace" )
477
477
. run ( ) ;
478
478
479
- p. cargo ( "build -p dep --no-default-features" )
479
+ p. cargo ( "check -p dep --no-default-features" )
480
480
. with_status ( 101 )
481
481
. with_stderr ( "[ERROR] cannot specify features for packages outside of workspace" )
482
482
. run ( ) ;
483
483
484
- p. cargo ( "build -p dep" )
484
+ p. cargo ( "check -p dep" )
485
485
. with_stderr (
486
486
"\
487
487
[UPDATING] [..]
488
488
[DOWNLOADING] [..]
489
489
[DOWNLOADED] [..]
490
- [COMPILING ] dep [..]
490
+ [CHECKING ] dep [..]
491
491
[FINISHED] [..]
492
492
" ,
493
493
)
You can’t perform that action at this time.
0 commit comments