-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When some static key doesn't match, Object matcher fails all keys that should match to regexp #6928
Comments
This one is quite annoying since it's hiding real problems in the output. |
Any workaround for this for now? Just test individual object paths instead of the whole thing with |
@pedrottimark is this on your roadmap to improve error messages of core matchers? |
Any update regarding this issue? |
Have been seeing this issue for a few months; still there in v24. |
Unfortunately, this is all but trivial to fix, see #7027 (comment) |
Yeah, duplicate of #6184 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
🐛 Bug Report
When some static key doesn't match, Object matcher fails all keys that should match to regexp
To Reproduce
Run the following test:
Actual behavior
Matcher reports keys 'a' and 'b' as mismatched:
Expected behavior
Only 'b' key is reported as failed:
The text was updated successfully, but these errors were encountered: