We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
resolve_local_toolchain()
1 parent e857897 commit 6a3a04cCopy full SHA for 6a3a04c
1 file changed
tests/suite/cli_v2.rs
@@ -343,7 +343,10 @@ async fn file_override_toolchain_err_handling() {
343
let toolchain_file = cwd.join("rust-toolchain");
344
rustup::utils::raw::write_file(&toolchain_file, "beta").unwrap();
345
cx.config
346
- .expect_stderr_ok(&["rustc", "--version"], "info: installing component")
+ .expect_err(
347
+ &["rustc", "--version"],
348
+ for_host!("toolchain 'beta-{0}' is not installed"),
349
+ )
350
.await;
351
}
352
0 commit comments