Skip to content

Commit 65ea42e

Browse files
committed
assert_eq failure message now multi-line related to rust pull request 42541.
1 parent b4b7ed5 commit 65ea42e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/bench.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ fn cargo_bench_failing_test() {
242242
[FINISHED] release [optimized] target(s) in [..]
243243
[RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
244244
thread '[..]' panicked at 'assertion failed: \
245-
`(left == right)` (left: \
246-
`\"hello\"`, right: `\"nope\"`)', src[/]foo.rs:14
245+
`(left == right)`
246+
left: `\"hello\"`,
247+
right: `\"nope\"`', src[/]foo.rs:14
247248
[..]
248249
", p.url()))
249250
.with_status(101));

0 commit comments

Comments
 (0)