assert_str_trim_all_ne

Macro assert_str_trim_all_ne 

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

Asserts that multiline strings(&str or String) are identical when every line is trimmed and new lines are removed.

ยงExamples

Test on inequality of two trimmed strings:

use assert_str::assert_str_trim_all_ne;
assert_str_trim_all_ne!("<html>\t \n\t<head> \n\t</head></html>",
    "<HTML><head></head></html>", "Responces should not be equal");