]> git.proxmox.com Git - cargo.git/commitdiff
Fixing test failure
authorSquirrel <gilescope@gmail.com>
Sun, 18 Jun 2017 21:03:06 +0000 (22:03 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Jun 2017 21:03:06 +0000 (22:03 +0100)
tests/bench.rs

index e289f62fb0b6ad8cc0e81e74620cfe607cf3ba26..ae7156de13769dc3596f7da88f5f3b6a301ee9d0 100644 (file)
@@ -242,10 +242,10 @@ fn cargo_bench_failing_test() {
 [FINISHED] release [optimized] target(s) in [..]
 [RUNNING] target[/]release[/]deps[/]foo-[..][EXE]
 thread '[..]' panicked at 'assertion failed: \
-    `(left == right)`", p.url()))
-                       .with_stderr_contains("left: `\"hello\"`")
-                       .with_stderr_contains("right: `\"nope\"`")
-                       .with_stderr_contains("src[/]foo.rs:14")
+    `(left == right)`[..]", p.url()))
+                       .with_stderr_contains("[..]left: `\"hello\"`[..]")
+                       .with_stderr_contains("[..]right: `\"nope\"`[..]")
+                       .with_stderr_contains("[..]src[/]foo.rs:14")
                        .with_status(101));
 }