Skip to content

Commit

Permalink
Auto merge of #4246 - est31:master, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
bors committed Jul 2, 2017
2 parents 5bf71ab + 02c97af commit eb6cf01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ failures:
---- test_hello stdout ----
<tab>thread 'test_hello' panicked at 'assertion failed: false', \
tests[/]footest.rs:4
tests[/]footest.rs:4[..]
")
.with_stdout_contains("\
failures:
Expand Down Expand Up @@ -295,7 +295,7 @@ failures:
---- test_hello stdout ----
<tab>thread 'test_hello' panicked at 'assertion failed: false', \
src[/]lib.rs:4
src[/]lib.rs:4[..]
")
.with_stdout_contains("\
failures:
Expand Down

0 comments on commit eb6cf01

Please sign in to comment.