Skip to content

Commit eb6cf01

Browse files
committed
Auto merge of #4246 - est31:master, r=Mark-Simulacrum
Let two further tests tolerate col info in panics Needed by rust-lang/rust#42938 I've now ripgrepped for "panicked at" and found no further test that hardcodes the "filename:line$" format.
2 parents 5bf71ab + 02c97af commit eb6cf01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ failures:
263263
264264
---- test_hello stdout ----
265265
<tab>thread 'test_hello' panicked at 'assertion failed: false', \
266-
tests[/]footest.rs:4
266+
tests[/]footest.rs:4[..]
267267
")
268268
.with_stdout_contains("\
269269
failures:
@@ -295,7 +295,7 @@ failures:
295295
296296
---- test_hello stdout ----
297297
<tab>thread 'test_hello' panicked at 'assertion failed: false', \
298-
src[/]lib.rs:4
298+
src[/]lib.rs:4[..]
299299
")
300300
.with_stdout_contains("\
301301
failures:

0 commit comments

Comments
 (0)