Genericize EitherMatcher
nicosuave opened this issue · comments
Nico Ritschel commented
Since both Either
and Try
implement success?
, I suggest modifying Dry::Matcher::EitherMatcher
to call success?
& failure?
rather than right?
& left?
.
Nico Ritschel commented
I will submit a PR if this is desired
Tim Riley commented
@nicosuave I'd love to see this, please go ahead with the PR!
Tim Riley commented
This has been done now.