Skip to content

Commit

Permalink
Testing no default toolchain configured
Browse files Browse the repository at this point in the history
  • Loading branch information
Glamhoth committed Apr 23, 2019
1 parent 08f06d8 commit 44d1f83
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/cli-misc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,17 @@ fn toolchains_are_resolved_early() {
});
}

#[test]
fn no_panic_on_default_toolchain_missing() {
setup(&|config| {
expect_err(
config,
&["rustup", "default"],
"no default toolchain configured",
);
});
}

// #190
#[test]
fn proxies_pass_empty_args() {
Expand Down

0 comments on commit 44d1f83

Please sign in to comment.