# Function cargo_test_support::compare::match_contains_n

source ·

    pub(crate) fn match_contains_n(
        expected: &str,
        number: usize,
        actual: &str,
        cwd: Option<&Path>,
    ) -> Result<()>

Expand description

Checks that the given string contains the given contiguous lines somewhere, and should be repeated `number` times.

See Patterns for more information on pattern matching.