Drop redundant Matchers.{allOf,anyOf}
containing a single Matcher
#340
Labels
Milestone
Matchers.{allOf,anyOf}
containing a single Matcher
#340
Problem
Declaring a
Matcher
usingMatchers.{allOf,anyOf}(Matcher...)
containing just a singleMatcher
, is redundant.Description of the proposed new feature
We can rewrite
to:
Considerations
This should support the method overloads
Matchers.{allOf,anyOf}(Iterable<? extends Matcher>)
.Participation
This is a nice opportunity to get your hands dirty with
BugChecker
s 🚀The text was updated successfully, but these errors were encountered: