We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4968b12 commit 1f6a162Copy full SHA for 1f6a162
tests/cli-self-upd.rs
@@ -568,9 +568,7 @@ fn update_exact() {
568
let expected_output = format!(
569
"info: checking for self-updates
570
info: downloading self-update
571
-info: rustup updated successfully to {}\n",
572
- version
573
- );
+");
574
575
update_setup(&|config, _| {
576
expect_ok(config, &["rustup-init", "-y"]);
@@ -704,9 +702,10 @@ fn update_no_change() {
704
702
expect_ok_ex(
705
703
config,
706
&["rustup", "self", "update"],
707
- r"",
+ r" rustup unchanged - (toolchain not installed)
+
+",
708
r"info: checking for self-updates
709
-info: already up-to-date
710
",
711
);
712
});
0 commit comments