Function cargo_test_support::compare::match_json
source · pub fn match_json(
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.
See crate::Execs::with_json
for more details.