From: est31 Date: Sun, 2 Jul 2017 13:38:29 +0000 (+0200) Subject: Let two further tests tolerate col info in panics X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2~8^2~16^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=02c97aff86c295a1c1f9687f84302be5fb54e0d9;p=cargo.git Let two further tests tolerate col info in panics Needed by https://github.com/rust-lang/rust/pull/42938 I've now ripgrepped for "panicked at" and found no further test that hardcodes the "filename:line$" format. --- diff --git a/tests/test.rs b/tests/test.rs index 6e6faed3f..ca37364bf 100644 --- a/tests/test.rs +++ b/tests/test.rs @@ -263,7 +263,7 @@ failures: ---- test_hello stdout ---- thread 'test_hello' panicked at 'assertion failed: false', \ - tests[/]footest.rs:4 + tests[/]footest.rs:4[..] ") .with_stdout_contains("\ failures: @@ -295,7 +295,7 @@ failures: ---- test_hello stdout ---- thread 'test_hello' panicked at 'assertion failed: false', \ - src[/]lib.rs:4 + src[/]lib.rs:4[..] ") .with_stdout_contains("\ failures: