Skip to content

Commit dafacbb

Browse files
committed
Update tests for formatting changes due to anyhow changes.
1 parent 77ee608 commit dafacbb

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

tests/testsuite/profile_config.rs

+8-8
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ fn profile_config_error_paths() {
125125
.with_status(101)
126126
.with_stderr(
127127
"\
128-
[ERROR] error in [..]/foo/.cargo/config: \
129-
could not load config key `profile.dev`: \
130-
error in [..]/home/.cargo/config: \
131-
`profile.dev.rpath` expected true/false, but found a string
128+
[ERROR] error in [..]/foo/.cargo/config: could not load config key `profile.dev`
129+
130+
Caused by:
131+
error in [..]/home/.cargo/config: `profile.dev.rpath` expected true/false, but found a string
132132
",
133133
)
134134
.run();
@@ -181,10 +181,10 @@ fn profile_config_syntax_errors() {
181181
.with_status(101)
182182
.with_stderr(
183183
"\
184-
[ERROR] error in [..]/foo/.cargo/config: \
185-
could not load config key `profile.dev`: \
186-
error in [..]/foo/.cargo/config: \
187-
`profile.dev.codegen-units` expected an integer, but found a string
184+
[ERROR] error in [..]/.cargo/config: could not load config key `profile.dev`
185+
186+
Caused by:
187+
error in [..]/foo/.cargo/config: `profile.dev.codegen-units` expected an integer, but found a string
188188
",
189189
)
190190
.run();

0 commit comments

Comments
 (0)