cargo_test_support::compare

Function match_contains

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

Checks that the given string contains the given contiguous lines somewhere.

See Patterns for more information on pattern matching.