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.
This commit is contained in:
Eric Huss 2025-08-09 16:45:41 -07:00
parent 37273ba8e0
commit 841c68d05e

View file

@ -35,7 +35,7 @@ fn failing_tests() {
...
test failing.md - Failing_Tests (line 3) ... FAILED
...
thread 'main' panicked at failing.md:3:1:
thread [..] panicked at failing.md:3:1:
fail
...
[TIMESTAMP] [INFO] (mdbook_driver::mdbook): Testing chapter 'Failing Include': "failing_include.md"
@ -45,7 +45,7 @@ fail
...
test failing_include.md - Failing_Include (line 3) ... FAILED
...
thread 'main' panicked at failing_include.md:3:1:
thread [..] panicked at failing_include.md:3:1:
failing!
...
[TIMESTAMP] [ERROR] (mdbook_core::utils): Error: One or more tests failed