From c5836e97ba3d8c91bfbd55201a2635ac7e40a335 Mon Sep 17 00:00:00 2001 From: Adam Butler <85082674+adam248@users.noreply.github.com> Date: Tue, 22 Nov 2022 13:19:05 +0930 Subject: [PATCH] fixed broken error made by newline char in `cargo install .` error message --- tests/testsuite/install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/testsuite/install.rs b/tests/testsuite/install.rs index dc473c719..65014afdf 100644 --- a/tests/testsuite/install.rs +++ b/tests/testsuite/install.rs @@ -329,8 +329,8 @@ fn missing_current_working_directory() { .with_stderr( "\ error: To install the binaries for the package in current working \ -directory use `cargo install --path .`. Use `cargo build` if you \ -want to simply build the package. +directory use `cargo install --path .`. \n\ +Use `cargo build` if you want to simply build the package. ", ) .run();