Skip to content

Commit 1f6a162

Browse files
Update tests
1 parent 4968b12 commit 1f6a162

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/cli-self-upd.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,7 @@ fn update_exact() {
568568
let expected_output = format!(
569569
"info: checking for self-updates
570570
info: downloading self-update
571-
info: rustup updated successfully to {}\n",
572-
version
573-
);
571+
");
574572

575573
update_setup(&|config, _| {
576574
expect_ok(config, &["rustup-init", "-y"]);
@@ -704,9 +702,10 @@ fn update_no_change() {
704702
expect_ok_ex(
705703
config,
706704
&["rustup", "self", "update"],
707-
r"",
705+
r" rustup unchanged - (toolchain not installed)
706+
707+
",
708708
r"info: checking for self-updates
709-
info: already up-to-date
710709
",
711710
);
712711
});

0 commit comments

Comments
 (0)