str_assert_eq

Macro str_assert_eq 

Source
macro_rules! str_assert_eq {
    ($left:expr, $right:expr $(,)?) => { ... };
    ($left:expr, $right:expr, $($arg:tt)+) => { ... };
}
Expand description

See std::assert_eq for more information. Main differences:

  1. Only accepts arguments which impl AsRef<str>
  2. Output on assertion failure is printed to stdout as a Vec of Chunks