Testing module

not

procedureextensionsince 0.30.0Source

Holds when matcher does not.

Example↗
assert_that(5, not(is(6)));
not :: (matcher: Matcher) -> Matcher

Holds when matcher does not.

Parameters

matcher: Matcher
the matcher to turn around.

Returns

Example↗
assert_that(5, not(is(6)));

See also