Skip to content

Commit 6a3a04c

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! feat(config)!: remove implicit installation from resolve_local_toolchain()
1 parent e857897 commit 6a3a04c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/suite/cli_v2.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,10 @@ async fn file_override_toolchain_err_handling() {
343343
let toolchain_file = cwd.join("rust-toolchain");
344344
rustup::utils::raw::write_file(&toolchain_file, "beta").unwrap();
345345
cx.config
346-
.expect_stderr_ok(&["rustc", "--version"], "info: installing component")
346+
.expect_err(
347+
&["rustc", "--version"],
348+
for_host!("toolchain 'beta-{0}' is not installed"),
349+
)
347350
.await;
348351
}
349352

0 commit comments

Comments
 (0)