Skip to content

Commit 4d3b738

Browse files
committed
test: allow some flexibility in check::error_from_deep_recursion's expected diagnostic.
1 parent 6de33f0 commit 4d3b738

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testsuite/check.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ fn error_from_deep_recursion() -> Result<(), fmt::Error> {
766766
p.cargo("check --message-format=json")
767767
.with_status(101)
768768
.with_stdout_contains(
769-
"[..]\"message\":\"recursion limit reached while expanding the macro `m`\"[..]",
769+
"[..]\"message\":\"recursion limit reached while expanding [..]`m[..]`\"[..]",
770770
)
771771
.run();
772772

0 commit comments

Comments
 (0)