Skip to content

Commit 9569106

Browse files
authored
Fixing test failure
1 parent 6bc2fb4 commit 9569106

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/bench.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ 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)`", p.url()))
246-
.with_stderr_contains("left: `\"hello\"`")
247-
.with_stderr_contains("right: `\"nope\"`")
248-
.with_stderr_contains("src[/]foo.rs:14")
245+
`(left == right)`[..]", p.url()))
246+
.with_stderr_contains("[..]left: `\"hello\"`[..]")
247+
.with_stderr_contains("[..]right: `\"nope\"`[..]")
248+
.with_stderr_contains("[..]src[/]foo.rs:14")
249249
.with_status(101));
250250
}
251251

0 commit comments

Comments
 (0)