macro_rules! assert_str_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 not identical. It
ignores different new line characters for different OSes: \n or \r\n.
ยงExamples
Test on inequality of two strings generated on different OSes:
use assert_str::assert_str_ne;
assert_str_ne!("This string\nEnd", "This string\r\nFinalEnd", "Responces should not be equal");