galvanic_assert::matchers

Function any_value

Source
pub fn any_value<'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), any_value());