From 8f547c2f428f9cd60e389df84cd80d688324e962 Mon Sep 17 00:00:00 2001 From: Nick Cameron Date: Thu, 6 Dec 2018 14:20:23 -0500 Subject: [PATCH] Fix rename_rls_remove test on Windows --- tests/cli-misc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cli-misc.rs b/tests/cli-misc.rs index 88b94b5bd6..0896c6d5bc 100644 --- a/tests/cli-misc.rs +++ b/tests/cli-misc.rs @@ -657,12 +657,12 @@ fn rename_rls_remove() { expect_ok(config, &["rustup", "component", "add", "rls"]); expect_ok(config, &["rls", "--version"]); expect_ok(config, &["rustup", "component", "remove", "rls"]); - expect_err(config, &["rls", "--version"], "'rls' is not installed"); + expect_err(config, &["rls", "--version"], &format!("'rls{}' is not installed", EXE_SUFFIX)); expect_ok(config, &["rustup", "component", "add", "rls"]); expect_ok(config, &["rls", "--version"]); expect_ok(config, &["rustup", "component", "remove", "rls-preview"]); - expect_err(config, &["rls", "--version"], "'rls' is not installed"); + expect_err(config, &["rls", "--version"], &format!("'rls{}' is not installed", EXE_SUFFIX)); }); }