This test should pass if we have tried to `update registry` evan if the command other...
authorEh2406 <YeomanYaacov@gmail.com>
Fri, 2 Mar 2018 13:49:42 +0000 (08:49 -0500)
committerEh2406 <YeomanYaacov@gmail.com>
Fri, 2 Mar 2018 13:49:42 +0000 (08:49 -0500)
tests/testsuite/generate_lockfile.rs

index efd0c6124eca20d932cb7a0517ec94160fee4479..8419df1698a1c019de967342110406df2e74cf06 100644 (file)
@@ -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"),