Closed philomates closed 1 year ago
This looks great at first glance, but it makes me think we'd want optional messages for other matchers. WDYT?
it makes me think we'd want optional messages for other matchers
I'd hope that other matchers are mostly self-explanatory from their name + data argument. Can you think of an example where more info is conveyed by also adding in a message?
I can't think of one.
@philomates please add this to the Changelog and then I'll approve/merge.
thanks! updated
Released in 3.8.0: https://clojars.org/nubank/matcher-combinators
addresses https://github.com/nubank/matcher-combinators/issues/145
This is already possible in the PredMatcher defrecord. This change extends it to the
pred
matcher that calls to PredMatcher.without a description
including a description