Skip to content

Commit

Permalink
Merge pull request #1561 from nrc/win-fix
Browse files Browse the repository at this point in the history
Fix rename_rls_remove test on Windows
  • Loading branch information
alexcrichton authored Dec 6, 2018
2 parents c4f0221 + 8f547c2 commit beab5ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/cli-misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -657,12 +657,12 @@ fn rename_rls_remove() {
expect_ok(config, &["rustup", "component", "add", "rls"]);
expect_ok(config, &["rls", "--version"]);
expect_ok(config, &["rustup", "component", "remove", "rls"]);
expect_err(config, &["rls", "--version"], "'rls' is not installed");
expect_err(config, &["rls", "--version"], &format!("'rls{}' is not installed", EXE_SUFFIX));

expect_ok(config, &["rustup", "component", "add", "rls"]);
expect_ok(config, &["rls", "--version"]);
expect_ok(config, &["rustup", "component", "remove", "rls-preview"]);
expect_err(config, &["rls", "--version"], "'rls' is not installed");
expect_err(config, &["rls", "--version"], &format!("'rls{}' is not installed", EXE_SUFFIX));
});
}

Expand Down

0 comments on commit beab5ac

Please sign in to comment.