Skip to content

Commit

Permalink
Remove unpacking from one last test
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Jul 18, 2020
1 parent da957b2 commit 6a60eca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cli-paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,9 @@ export PATH="$HOME/apple/bin"

#[test]
fn install_doesnt_modify_path_if_passed_no_modify_path() {
clitools::setup(Scenario::SimpleV2, &|config| {
setup(&|config| {
let profile = config.homedir.join(".profile");
expect_ok(config, &["rustup-init", "-y", "--no-modify-path"]);
expect_ok(config, &["rustup-init", "-y", "--no-modify-path", "--default-toolchain", "none"]);
assert!(!profile.exists());
});
}
Expand Down

0 comments on commit 6a60eca

Please sign in to comment.