cargo_test_support::compare

Function match_unordered

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

Checks that the given string contains the given lines, ignoring the order of the lines.

See Patterns for more information on pattern matching.