pub fn not<'a, T: 'a>(
matcher: Box<dyn Matcher<'a, T> + 'a>,
) -> Box<dyn Matcher<'a, T> + 'a>
Expand description
A matcher negating the result of the passed matcher.
#Examples
use galvanic_assert::matchers::*;
assert_that!(&(1+1), not(eq(3)));