:: Either a b -> IO b -package:HTF
Return value on the
Right and fail otherwise.
Difference from
shouldSatisfy action isRight in
that
expectRight will force the content of the
Right to
WHNF and return it. This expectation will also show the content of the
Left when expectation fails.
Escalate an Either to an exception.