Skip to content

Commit 59d9285

Browse files
author
Jon Gjengset
committed
Explicitly test path toolchain name
1 parent f7aeab6 commit 59d9285

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/cli-rustup.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1411,6 +1411,13 @@ fn file_override_path() {
14111411
.unwrap();
14121412

14131413
expect_stdout_ok(config, &["rustc", "--version"], "hash-nightly-2");
1414+
1415+
// Check that the toolchain has the right name
1416+
expect_stdout_ok(
1417+
config,
1418+
&["rustup", "show", "active-toolchain"],
1419+
&format!("nightly-{}", this_host_triple()),
1420+
);
14141421
});
14151422
}
14161423

0 commit comments

Comments
 (0)