cargo_test_support::compare

Function match_does_not_contain

Source
pub(crate) fn match_does_not_contain(
    expected: &str,
    actual: &str,
    cwd: Option<&Path>,
) -> Result<()>
Expand description

Checks that the given string does not contain the given contiguous lines anywhere.

See Patterns for more information on pattern matching.