Skip to content

Report matcher errors for unordered expectations - #358

Open
Bolt4243 wants to merge 1 commit into
DATA-DOG:masterfrom
Bolt4243:fix/unordered-matcher-errors
Open

Bolt4243 wants to merge 1 commit into
DATA-DOG:masterfrom
Bolt4243:fix/unordered-matcher-errors

Conversation

@Bolt4243

Copy link
Copy Markdown

Unordered matching discarded query matcher failures while it searched for another expectation, so invalid regular expressions became generic unexpected-call errors.

Remember the matcher failure and include it when no expectation matches. The regression covers both query and exec paths in unordered mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants