FailingStrategy

Trait FailingStrategy 

Source
pub trait FailingStrategy {
    // Required method
    fn do_fail_with(&self, failures: &[AssertFailure]);
}
Expand description

Defines the behavior when an assertion fails.

This crate provides two implementations:

Required Methods§

Source

fn do_fail_with(&self, failures: &[AssertFailure])

Reacts to an assertion that has failed with the AssertFailures given as argument.

Implementors§