From bb4073ebdd01e9b5c5e4e8e1696572c597941b63 Mon Sep 17 00:00:00 2001 From: Guillaume Gomez Date: Fri, 24 Jan 2020 21:38:30 +0100 Subject: [PATCH] Update tests --- tests/cli-self-upd.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/cli-self-upd.rs b/tests/cli-self-upd.rs index 46779cab5e..7dcb0ec17a 100644 --- a/tests/cli-self-upd.rs +++ b/tests/cli-self-upd.rs @@ -568,8 +568,7 @@ fn update_exact() { let expected_output = format!( "info: checking for self-updates info: downloading self-update -info: rustup updated successfully to {}\n", - version +" ); update_setup(&|config, _| { @@ -704,9 +703,10 @@ fn update_no_change() { expect_ok_ex( config, &["rustup", "self", "update"], - r"", + r" rustup unchanged - (toolchain not installed) + +", r"info: checking for self-updates -info: already up-to-date ", ); });