mirror of
https://github.com/rust-lang/cargo.git
synced 2025-10-01 11:30:39 +00:00
This test should pass if we have tried to update registry
evan if the command otherwise fails
This commit is contained in:
parent
2fa4fdf7f3
commit
d9c97debbb
@ -88,7 +88,7 @@ fn no_index_update() {
|
||||
.build();
|
||||
|
||||
assert_that(p.cargo("generate-lockfile"),
|
||||
execs().with_status(0).with_stdout("")
|
||||
execs().with_stdout("")
|
||||
.with_stderr_contains(" Updating registry `https://github.com/rust-lang/crates.io-index`"));
|
||||
|
||||
assert_that(p.cargo("generate-lockfile").masquerade_as_nightly_cargo().arg("-Zno-index-update"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user