Struct expectest::matchers::BeTrue [] [src]

pub struct BeTrue;

A matcher for be_true assertions.

Trait Implementations

impl Matcher<bool()> for BeTrue
[src]

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.