Skip to main content

assert_eq_or_diff

Macro assert_eq_or_diff 

Source
macro_rules! assert_eq_or_diff {
    { $a:expr, $b:expr $(,)? } => { ... };
    { $a:expr, $b:expr , $($message:tt)*} => { ... };
}
Available on crate features testing only.
Expand description

Assert that $a = $b; if not, panic with a unidiff