Skip to content

Commit bb4073e

Browse files
Update tests
1 parent 4968b12 commit bb4073e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/cli-self-upd.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -568,8 +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
571+
"
573572
);
574573

575574
update_setup(&|config, _| {
@@ -704,9 +703,10 @@ fn update_no_change() {
704703
expect_ok_ex(
705704
config,
706705
&["rustup", "self", "update"],
707-
r"",
706+
r" rustup unchanged - (toolchain not installed)
707+
708+
",
708709
r"info: checking for self-updates
709-
info: already up-to-date
710710
",
711711
);
712712
});

0 commit comments

Comments
 (0)