From 04a9a7cc346d23d474ea6d41ea6f6f614af38a98 Mon Sep 17 00:00:00 2001 From: Jethro Beekman Date: Thu, 2 May 2019 14:58:10 -0700 Subject: [PATCH] Fix tests when running with RUST_TEST_THREADS=1 --- tests/testsuite/test.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/testsuite/test.rs b/tests/testsuite/test.rs index e9eacee5d..5ecc8dc71 100644 --- a/tests/testsuite/test.rs +++ b/tests/testsuite/test.rs @@ -316,7 +316,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -[..]thread 'test_hello' panicked at 'assertion failed:[..]", +[..]thread '[..]' panicked at 'assertion failed:[..]", ) .with_stdout_contains("[..]`(left == right)`[..]") .with_stdout_contains("[..]left: `\"hello\"`,[..]") @@ -366,7 +366,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -[..]thread 'test_hello' panicked at 'assertion failed: false', \ +[..]thread '[..]' panicked at 'assertion failed: false', \ tests/footest.rs:1[..] ", ) @@ -402,7 +402,7 @@ test test_hello ... FAILED failures: ---- test_hello stdout ---- -[..]thread 'test_hello' panicked at 'assertion failed: false', \ +[..]thread '[..]' panicked at 'assertion failed: false', \ src/lib.rs:1[..] ", ) -- 2.39.5