-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
The only implemented matchers at the moment are:
Any: matches any argument
Eq matches based on Arg: PartialEq
EqAgainst matches based on Arg: PartialEq<Against>
We could implement other matchers so faux users don't have to handwrite their own matchers.
Quick ideas:
<<=>>=!||&&- contains
custom closure. Unsure if this is all that much better than a just implementingArgMatcherthough.
We can first decide what matchers to create and then see if when! can come up with an easy to use syntax for it.
cc: @muscovite
musjj
Metadata
Metadata
Assignees
Labels
No labels