Skip to content

Commit d4ae176

Browse files
committed
Adjust existing test case to reflect current functional behavior change
1 parent dbb66ad commit d4ae176

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

tests/suite/cli_v2.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,11 @@ fn update_unavailable_force() {
10671067
config.expect_err(
10681068
&["rustup", "update", "nightly"],
10691069
for_host!(
1070-
"component 'rls' for target '{0}' is unavailable for download for channel 'nightly'"
1070+
r"error: component 'rls' for target '{0}' is unavailable for download for channel 'nightly'
1071+
Sometimes not all components are available in any given nightly. If you are trying to update an existing toolchain and no longer need this component,
1072+
you might want to remove it first with:
1073+
1074+
rustup component remove --toolchain nightly --target {0} rls"
10711075
),
10721076
);
10731077
config.expect_ok(&["rustup", "update", "nightly", "--force"]);

0 commit comments

Comments
 (0)