File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -1636,6 +1636,19 @@ workspace: [..]/foo/Cargo.toml
1636
1636
// current working directory.
1637
1637
// See https://github.com/rust-lang/cargo/issues/8619
1638
1638
p. cargo ( "install foo" )
1639
- . with_stderr_does_not_contain ( & stderr)
1639
+ . with_stderr (
1640
+ "\
1641
+ [UPDATING] `[..]` index
1642
+ [DOWNLOADING] crates ...
1643
+ [DOWNLOADED] foo v0.1.0 (registry [..])
1644
+ [INSTALLING] foo v0.1.0
1645
+ [COMPILING] foo v0.1.0
1646
+ [FINISHED] release [optimized] target(s) in [..]
1647
+ [INSTALLING] [..]foo[EXE]
1648
+ [INSTALLED] package `foo v0.1.0` (executable `foo[EXE]`)
1649
+ [WARNING] be sure to add `[..]` to your PATH to be able to run the installed binaries
1650
+ " ,
1651
+ )
1640
1652
. run ( ) ;
1653
+ assert_has_installed_exe ( cargo_home ( ) , "foo" ) ;
1641
1654
}
You can’t perform that action at this time.
0 commit comments