@@ -747,7 +747,7 @@ fn install_default_features() {
747
747
assert_that ( p. cargo ( "uninstall" ) . arg ( "foo" ) , execs ( ) . with_status ( 0 ) ) ;
748
748
749
749
assert_that (
750
- p. cargo ( "install" ) . arg ( "--no-default-features" ) ,
750
+ p. cargo ( "install --path . " ) . arg ( "--no-default-features" ) ,
751
751
execs ( ) . with_status ( 101 ) . with_stderr ( format ! (
752
752
"\
753
753
[INSTALLING] foo v0.0.1 ([..])
@@ -758,12 +758,12 @@ fn install_default_features() {
758
758
) ;
759
759
assert_that ( cargo_home ( ) , is_not ( has_installed_exe ( "foo" ) ) ) ;
760
760
761
- assert_that ( p. cargo ( "install" ) . arg ( "--bin=foo" ) , execs ( ) . with_status ( 0 ) ) ;
761
+ assert_that ( p. cargo ( "install --path . " ) . arg ( "--bin=foo" ) , execs ( ) . with_status ( 0 ) ) ;
762
762
assert_that ( cargo_home ( ) , has_installed_exe ( "foo" ) ) ;
763
763
assert_that ( p. cargo ( "uninstall" ) . arg ( "foo" ) , execs ( ) . with_status ( 0 ) ) ;
764
764
765
765
assert_that (
766
- p. cargo ( "install" )
766
+ p. cargo ( "install --path . " )
767
767
. arg ( "--bin=foo" )
768
768
. arg ( "--no-default-features" ) ,
769
769
execs ( ) . with_status ( 101 ) . with_stderr ( format ! (
@@ -781,14 +781,14 @@ Consider enabling them by passing e.g. `--features=\"a\"`
781
781
assert_that ( cargo_home ( ) , is_not ( has_installed_exe ( "foo" ) ) ) ;
782
782
783
783
assert_that (
784
- p. cargo ( "install" ) . arg ( "--example=foo" ) ,
784
+ p. cargo ( "install --path . " ) . arg ( "--example=foo" ) ,
785
785
execs ( ) . with_status ( 0 ) ,
786
786
) ;
787
787
assert_that ( cargo_home ( ) , has_installed_exe ( "foo" ) ) ;
788
788
assert_that ( p. cargo ( "uninstall" ) . arg ( "foo" ) , execs ( ) . with_status ( 0 ) ) ;
789
789
790
790
assert_that (
791
- p. cargo ( "install" )
791
+ p. cargo ( "install --path . " )
792
792
. arg ( "--example=foo" )
793
793
. arg ( "--no-default-features" ) ,
794
794
execs ( ) . with_status ( 101 ) . with_stderr ( format ! (
@@ -874,15 +874,15 @@ fn install_multiple_required_features() {
874
874
assert_that ( p. cargo ( "uninstall" ) . arg ( "foo" ) , execs ( ) . with_status ( 0 ) ) ;
875
875
876
876
assert_that (
877
- p. cargo ( "install" ) . arg ( "--features" ) . arg ( "c" ) ,
877
+ p. cargo ( "install --path . " ) . arg ( "--features" ) . arg ( "c" ) ,
878
878
execs ( ) . with_status ( 0 ) ,
879
879
) ;
880
880
assert_that ( cargo_home ( ) , has_installed_exe ( "foo_1" ) ) ;
881
881
assert_that ( cargo_home ( ) , has_installed_exe ( "foo_2" ) ) ;
882
882
assert_that ( p. cargo ( "uninstall" ) . arg ( "foo" ) , execs ( ) . with_status ( 0 ) ) ;
883
883
884
884
assert_that (
885
- p. cargo ( "install" ) . arg ( "--no-default-features" ) ,
885
+ p. cargo ( "install --path . " ) . arg ( "--no-default-features" ) ,
886
886
execs ( ) . with_status ( 101 ) . with_stderr (
887
887
"\
888
888
[INSTALLING] foo v0.0.1 ([..])
0 commit comments