Skip to content

Commit 8330233

Browse files
committed
Update testsuite to match new panic msg
This patch fixes tests from failing that were matching on `Box<Any>`, which was the old panic message. Since the new panic message is `Box<dyn Any>`, the tests have been updated to match against this instead.
1 parent eb3fd6d commit 8330233

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/ui/panics/panic-macro-any-wrapped.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// run-fail
2-
// error-pattern:panicked at 'Box<Any>'
2+
// error-pattern:panicked at 'Box<dyn Any>'
33
// ignore-emscripten no processes
44

55
#![allow(non_fmt_panic)]

src/test/ui/panics/panic-macro-any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// run-fail
2-
// error-pattern:panicked at 'Box<Any>'
2+
// error-pattern:panicked at 'Box<dyn Any>'
33
// ignore-emscripten no processes
44

55
#![feature(box_syntax)]

0 commit comments

Comments
 (0)