You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 27, 2023. It is now read-only.
Requested feature
A
In([]T)matcher which returns true if it matches one of the given value.For Example:
Why the feature is needed
With this matcher, we could cover the scenes where the args could be one of the options and make the
EXPECT()assertion more reusable.Proposed solution
When
Matches()is called, it generatesEqMatchers from the given slice, and checkeqMatcher.Matches()one by one.I've tried to make a PR. See #582