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 9488dac
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions tests/cli-paths.rs
Original file line number Diff line number Diff line change
Expand Up @@ -296,9 +296,18 @@ 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 9488dac

Please sign in to comment.