Skip to content

Commit 841c68d

Browse files
committed
Fix test for nightly panic message change
A recent nightly changed the format of the panic message. This updates the test that was matching against this so it doesn't match the text that has changed.
1 parent 37273ba commit 841c68d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/testsuite/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fn failing_tests() {
3535
...
3636
test failing.md - Failing_Tests (line 3) ... FAILED
3737
...
38-
thread 'main' panicked at failing.md:3:1:
38+
thread [..] panicked at failing.md:3:1:
3939
fail
4040
...
4141
[TIMESTAMP] [INFO] (mdbook_driver::mdbook): Testing chapter 'Failing Include': "failing_include.md"
@@ -45,7 +45,7 @@ fail
4545
...
4646
test failing_include.md - Failing_Include (line 3) ... FAILED
4747
...
48-
thread 'main' panicked at failing_include.md:3:1:
48+
thread [..] panicked at failing_include.md:3:1:
4949
failing!
5050
...
5151
[TIMESTAMP] [ERROR] (mdbook_core::utils): Error: One or more tests failed

0 commit comments

Comments
 (0)