Skip to content

Commit 04a9a7c

Browse files
Jethro Beekmanehuss
authored andcommitted
Fix tests when running with RUST_TEST_THREADS=1
1 parent e30ab5e commit 04a9a7c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/testsuite/test.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ test test_hello ... FAILED
316316
failures:
317317
318318
---- test_hello stdout ----
319-
[..]thread 'test_hello' panicked at 'assertion failed:[..]",
319+
[..]thread '[..]' panicked at 'assertion failed:[..]",
320320
)
321321
.with_stdout_contains("[..]`(left == right)`[..]")
322322
.with_stdout_contains("[..]left: `\"hello\"`,[..]")
@@ -366,7 +366,7 @@ test test_hello ... FAILED
366366
failures:
367367
368368
---- test_hello stdout ----
369-
[..]thread 'test_hello' panicked at 'assertion failed: false', \
369+
[..]thread '[..]' panicked at 'assertion failed: false', \
370370
tests/footest.rs:1[..]
371371
",
372372
)
@@ -402,7 +402,7 @@ test test_hello ... FAILED
402402
failures:
403403
404404
---- test_hello stdout ----
405-
[..]thread 'test_hello' panicked at 'assertion failed: false', \
405+
[..]thread '[..]' panicked at 'assertion failed: false', \
406406
src/lib.rs:1[..]
407407
",
408408
)

0 commit comments

Comments
 (0)