We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 805f424 commit 40a387cCopy full SHA for 40a387c
tests/testsuite/cargo_remove/offline/mod.rs
@@ -2,7 +2,6 @@ use cargo_test_support::compare::assert_ui;
2
use cargo_test_support::curr_dir;
3
use cargo_test_support::CargoCommand;
4
use cargo_test_support::Project;
5
-use cargo_test_support::TestEnv;
6
7
use crate::cargo_remove::init_registry;
8
@@ -14,9 +13,7 @@ fn case() {
14
13
let cwd = &project_root;
15
16
// run the metadata command to populate the cache
17
- let cargo = std::env::var_os("CARGO").unwrap();
18
- snapbox::cmd::Command::new(cargo)
19
- .test_env()
+ snapbox::cmd::Command::cargo_ui()
20
.arg("metadata")
21
.current_dir(cwd)
22
.assert()
0 commit comments