Update tests for formatting changes due to anyhow changes.

This commit is contained in:
Eric Huss 2020-01-13 13:36:20 -08:00
parent 77ee608de3
commit dafacbb76b

View File

@ -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();