Macro assert_html_ne

Source
macro_rules! assert_html_ne {
    ($left:expr, $right:expr $(,)?) => { ... };
    ($left:expr, $right:expr, $options:expr $(,)?) => { ... };
}
Expand description

Asserts that two HTML strings are not equivalent according to the given comparison options.

§Examples

use html_compare::assert_html_ne;

assert_html_ne!(
    "<div><p>Hello</p></div>",
    "<div><p>Different</p></div>"
);