Skip to content
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

False positive when checking the number of arguments in WireMock.and() and WireMock.or() #122

Closed
picimako opened this issue Oct 7, 2024 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@picimako
Copy link
Owner

picimako commented Oct 7, 2024

Summary

WireMock.and() and WireMock.or() must be passed in at least two arguments but if it is being passed in a single array of matchers, it is still reported as erroneous.

The inspection error messages are also switched between and() and or().

@picimako picimako added the bug Something isn't working label Oct 7, 2024
@picimako picimako added this to the v1.0.34 milestone Oct 7, 2024
@picimako picimako self-assigned this Oct 7, 2024
@picimako
Copy link
Owner Author

picimako commented Oct 7, 2024

Completed in v1.0.34.

@picimako picimako closed this as completed Oct 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant