galvanic_assert::matchers

Function assertion_always_succeeds

Source
pub fn assertion_always_succeeds<'a, T: 'a>() -> Box<dyn Matcher<'a, T> + 'a>
Expand description

A matcher which always matches.

#Examples

use galvanic_assert::matchers::*;
assert_that!(&(1+1), assertion_always_succeeds());