Macro ra_ap_test_utils::assert_eq_text[][src]

macro_rules! assert_eq_text {
    ($left : expr, $right : expr) => { ... };
    ($left : expr, $right : expr, $($tt : tt) *) => { ... };
}
Expand description

Asserts that two strings are equal, otherwise displays a rich diff between them.

The diff shows changes from the “original” left string to the “actual” right string.

All arguments starting from and including the 3rd one are passed to eprintln!() macro in case of text inequality.