macro_rules! assert_not_contains {
    ($ACTUAL: expr, $UNEXPECTED: expr) => { ... };
}
Expand description

A macro to assert that one string is NOT contained within another with a nice error message if they are are.

Usage: assert_not_contains!(actual, unexpected)

Is a macro so test error messages are on the same line as the failure;

Both arguments must be convertable into Strings (Into<String>)