Skip to content

Commit

Permalink
test: allow some flexibility in check::error_from_deep_recursion's ex…
Browse files Browse the repository at this point in the history
…pected diagnostic.
  • Loading branch information
eddyb committed Jan 24, 2020
1 parent 6de33f0 commit 4d3b738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testsuite/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ fn error_from_deep_recursion() -> Result<(), fmt::Error> {
p.cargo("check --message-format=json")
.with_status(101)
.with_stdout_contains(
"[..]\"message\":\"recursion limit reached while expanding the macro `m`\"[..]",
"[..]\"message\":\"recursion limit reached while expanding [..]`m[..]`\"[..]",
)
.run();

Expand Down

0 comments on commit 4d3b738

Please sign in to comment.