Skip to content

Commit

Permalink
Simplify test::install_ignores_cargo_config
Browse files Browse the repository at this point in the history
  • Loading branch information
dwijnand committed Sep 6, 2018
1 parent d036024 commit 3b786a0
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tests/testsuite/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1240,15 +1240,6 @@ fn install_ignores_cargo_config() {
pkg("bar", "0.0.1");

let p = project()
.file(
"Cargo.toml",
r#"
[package]
name = "foo"
version = "0.1.0"
authors = []
"#,
)
.file(
".cargo/config",
r#"
Expand All @@ -1259,6 +1250,6 @@ fn install_ignores_cargo_config() {
.file("src/main.rs", "fn main() {}")
.build();

p.cargo("install bar").with_status(0).run();
p.cargo("install bar").run();
assert_has_installed_exe(cargo_home(), "bar");
}

0 comments on commit 3b786a0

Please sign in to comment.