expectest::matchers
pub struct BeTrue;
A matcher for be_true assertions.
be_true
impl Matcher<bool, ()> for BeTrue
fn failure_message(&self, join: Join, _: &bool) -> String
Returns a failure message.
fn matches(&self, actual: &bool) -> bool
Checks if an actual value matches an expected value.