Skip to content

Commit

Permalink
test: complete expectations in install_allow_downgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
payload committed Nov 24, 2019
1 parent 0be32f4 commit a11791f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/cli-v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1392,6 1392,9 @@ fn install_allow_downgrade() {
"--no-self-update",
],
);
expect_stdout_ok(config, &["rustc", "--version"], "hash-nightly-3");
expect_component_not_executable(config, "rls");

expect_err(
config,
&[
Expand All @@ -1408,6 1411,9 @@ fn install_allow_downgrade() {
trip,
),
);
expect_stdout_ok(config, &["rustc", "--version"], "hash-nightly-3");
expect_component_not_executable(config, "rls");

expect_ok(
config,
&[
Expand All @@ -1422,5 1428,6 @@ fn install_allow_downgrade() {
],
);
expect_stdout_ok(config, &["rustc", "--version"], "hash-nightly-2");
expect_component_executable(config, "rls");
});
}

0 comments on commit a11791f

Please sign in to comment.