Skip to content

Commit

Permalink
Address FIXME in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nrc committed Jan 8, 2019
1 parent 5a062ce commit 643d052
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/cli-misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -549,14 +549,12 @@ fn rls_exists_in_toolchain() {
#[test]
fn rls_does_not_exist_in_toolchain() {
setup(&|config| {
// FIXME: If rls exists in the toolchain, this should suggest a command
// to run to install it
expect_ok(config, &["rustup", "default", "stable"]);
expect_err(
config,
&["rls", "--version"],
&format!(
"'rls{}' is not installed for the toolchain 'stable-{}'",
"'rls{}' is not installed for the toolchain 'stable-{}'\nTo install, run `rustup component add rls`",
EXE_SUFFIX,
this_host_triple(),
),
Expand Down

0 comments on commit 643d052

Please sign in to comment.