ribs_test_core library
Test matchers for ribs_core types.
Provides isLeft, isRight, isSome, isNone, isValid, isInvalid,
and isValidNel matchers for use with package:test.
Functions
-
isInvalid(
[Object? expected]) → Matcher -
Returns a
Matcherthat matches anInvalidvalue. -
isLeft(
[Object? matcher]) → Matcher -
Returns a
Matcherthat matches aLeftvalue. -
isNone(
) → Matcher -
Returns a
Matcherthat matches aNonevalue. -
isRight(
[Object? matcher]) → Matcher -
Returns a
Matcherthat matches aRightvalue. -
isSome(
[Object? matcher]) → Matcher -
Returns a
Matcherthat matches aSomevalue. -
isValid(
[Object? matcher]) → Matcher -
Returns a
Matcherthat matches aValidvalue. -
isValidNel(
[Object? matcher]) → Matcher -
Returns a
Matcherthat matches aValidvalue for aValidatedNel.