[][src]Macro assert_str::assert_str_trim_all_eq

macro_rules! assert_str_trim_all_eq {
    ($left:expr, $right:expr) => { ... };
    ($left:expr, $right:expr,) => { ... };
    ($left:expr, $right:expr, $($arg:tt)+) => { ... };
}

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

Examples

Test on equality of two trimmed strings:

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