Fix tests when running with RUST_TEST_THREADS=1

This commit is contained in:
Jethro Beekman 2019-05-02 14:58:10 -07:00 committed by Eric Huss
parent e30ab5e7cc
commit 04a9a7cc34

View File

@ -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[..]
",
)