Function cargo_test_support::compare::find_json_mismatch
source · Expand description
Compares JSON object for approximate equality.
You can use [..]
wildcard in strings (useful for OS-dependent things such
as paths). You can use a "{...}"
string literal as a wildcard for
arbitrary nested JSON (useful for parts of object emitted by other programs
(e.g., rustc) rather than Cargo itself).