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