Ignore <tab> in libtest output.
authorEric Huss <eric@huss.org>
Tue, 15 May 2018 05:02:34 +0000 (22:02 -0700)
committerEric Huss <eric@huss.org>
Tue, 15 May 2018 05:02:34 +0000 (22:02 -0700)
rust-lang/rust#50387 is changing the output from libtest which affected a few Cargo tests.

tests/testsuite/test.rs

index c48dbf2bb2c8e6bc1fcd7205b97272616f62807d..47ff910919c058b76c8b459829aa5f833ebf93c0 100644 (file)
@@ -301,7 +301,7 @@ test test_hello ... FAILED
 failures:
 
 ---- test_hello stdout ----
-<tab>thread 'test_hello' panicked at 'assertion failed:[..]",
+[..]thread 'test_hello' panicked at 'assertion failed:[..]",
             )
             .with_stdout_contains("[..]`(left == right)`[..]")
             .with_stdout_contains("[..]left: `\"hello\"`,[..]")
@@ -367,7 +367,7 @@ test test_hello ... FAILED
 failures:
 
 ---- test_hello stdout ----
-<tab>thread 'test_hello' panicked at 'assertion failed: false', \
+[..]thread 'test_hello' panicked at 'assertion failed: false', \
       tests[/]footest.rs:4[..]
 ",
             )
@@ -413,7 +413,7 @@ test test_hello ... FAILED
 failures:
 
 ---- test_hello stdout ----
-<tab>thread 'test_hello' panicked at 'assertion failed: false', \
+[..]thread 'test_hello' panicked at 'assertion failed: false', \
       src[/]lib.rs:4[..]
 ",
             )