diff options
Diffstat (limited to 'src/tools/cargo/tests/testsuite/generate_lockfile.rs')
-rw-r--r-- | src/tools/cargo/tests/testsuite/generate_lockfile.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/cargo/tests/testsuite/generate_lockfile.rs b/src/tools/cargo/tests/testsuite/generate_lockfile.rs index d2b633605..ed282fc19 100644 --- a/src/tools/cargo/tests/testsuite/generate_lockfile.rs +++ b/src/tools/cargo/tests/testsuite/generate_lockfile.rs @@ -161,13 +161,13 @@ fn cargo_update_generate_lockfile() { let lockfile = p.root().join("Cargo.lock"); assert!(!lockfile.is_file()); - p.cargo("update").with_stdout("").run(); + p.cargo("update").with_stderr("").run(); assert!(lockfile.is_file()); fs::remove_file(p.root().join("Cargo.lock")).unwrap(); assert!(!lockfile.is_file()); - p.cargo("update").with_stdout("").run(); + p.cargo("update").with_stderr("").run(); assert!(lockfile.is_file()); } |