From dafacbb76b60991b9d6b98fc7197429fc69bdf72 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Mon, 13 Jan 2020 13:36:20 -0800 Subject: [PATCH] Update tests for formatting changes due to `anyhow` changes. --- tests/testsuite/profile_config.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/tests/testsuite/profile_config.rs b/tests/testsuite/profile_config.rs index 685cc3fac..8d389e567 100644 --- a/tests/testsuite/profile_config.rs +++ b/tests/testsuite/profile_config.rs @@ -125,10 +125,10 @@ fn profile_config_error_paths() { .with_status(101) .with_stderr( "\ -[ERROR] error in [..]/foo/.cargo/config: \ - could not load config key `profile.dev`: \ - error in [..]/home/.cargo/config: \ - `profile.dev.rpath` expected true/false, but found a string +[ERROR] error in [..]/foo/.cargo/config: could not load config key `profile.dev` + +Caused by: + error in [..]/home/.cargo/config: `profile.dev.rpath` expected true/false, but found a string ", ) .run(); @@ -181,10 +181,10 @@ fn profile_config_syntax_errors() { .with_status(101) .with_stderr( "\ -[ERROR] error in [..]/foo/.cargo/config: \ - could not load config key `profile.dev`: \ - error in [..]/foo/.cargo/config: \ - `profile.dev.codegen-units` expected an integer, but found a string +[ERROR] error in [..]/.cargo/config: could not load config key `profile.dev` + +Caused by: + error in [..]/foo/.cargo/config: `profile.dev.codegen-units` expected an integer, but found a string ", ) .run();