From 02c97aff86c295a1c1f9687f84302be5fb54e0d9 Mon Sep 17 00:00:00 2001 From: est31 Date: Sun, 2 Jul 2017 15:38:29 +0200 Subject: [PATCH] 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. --- tests/test.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test.rs b/tests/test.rs index 6e6faed3f2d..ca37364bfab 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: