# Function cargo_test_support::compare::match_json_contains_unordered

source ·

    pub fn match_json_contains_unordered(
        expected: &str,
        actual: &str,
        cwd: Option<&Path>
    ) -> Result<()>

Expand description

Checks that the given string of JSON objects match the given set of expected JSON objects, ignoring their order.

See `crate::Execs::with_json_contains_unordered` for more details and cautions when using.