@@ -2163,8 +2163,8 @@ fn sparse_install() {
2163
2163
[UPDATING] `dummy-registry` index
2164
2164
[COMPILING] foo v0.0.1 (registry `dummy-registry`)
2165
2165
[FINISHED] release [optimized] target(s) in [..]
2166
- [INSTALLING] [ROOT]/home/.cargo/bin/foo
2167
- [INSTALLED] package `foo v0.0.1 (registry `dummy-registry`)` (executable `foo`)
2166
+ [INSTALLING] [ROOT]/home/.cargo/bin/foo[EXE]
2167
+ [INSTALLED] package `foo v0.0.1 (registry `dummy-registry`)` (executable `foo[EXE] `)
2168
2168
[WARNING] be sure to add `[..]` to your PATH to be able to run the installed binaries
2169
2169
" ,
2170
2170
)
@@ -2176,15 +2176,15 @@ fn sparse_install() {
2176
2176
} ;
2177
2177
assert_v1 (
2178
2178
r#"[v1]
2179
- "foo 0.0.1 (sparse+http://127.0.0.1:[..]/index/)" = ["foo"]
2179
+ "foo 0.0.1 (sparse+http://127.0.0.1:[..]/index/)" = ["foo[EXE] "]
2180
2180
"# ,
2181
2181
) ;
2182
2182
cargo_process ( "install bar" ) . run ( ) ;
2183
2183
assert_has_installed_exe ( cargo_home ( ) , "bar" ) ;
2184
2184
assert_v1 (
2185
2185
r#"[v1]
2186
- "bar 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = ["bar"]
2187
- "foo 0.0.1 (sparse+http://127.0.0.1:[..]/index/)" = ["foo"]
2186
+ "bar 0.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = ["bar[EXE] "]
2187
+ "foo 0.0.1 (sparse+http://127.0.0.1:[..]/index/)" = ["foo[EXE] "]
2188
2188
"# ,
2189
2189
) ;
2190
2190
@@ -2194,7 +2194,7 @@ fn sparse_install() {
2194
2194
assert_has_not_installed_exe ( cargo_home ( ) , "bar" ) ;
2195
2195
assert_v1 (
2196
2196
r#"[v1]
2197
- "foo 0.0.1 (sparse+http://127.0.0.1:[..]/index/)" = ["foo"]
2197
+ "foo 0.0.1 (sparse+http://127.0.0.1:[..]/index/)" = ["foo[EXE] "]
2198
2198
"# ,
2199
2199
) ;
2200
2200
cargo_process ( "uninstall foo" )
0 commit comments