macro_rules! assert_json_diff { ($diagnostics_hierarchy:expr, $($rest:tt)+) => { ... }; }
Expand description
Macro to check a hierarchy with a nice JSON diff.
The syntax of the expected
value is the same as that of hierarchy!
, and
essentially the same as assert_data_tree!
, except that partial tree matching
is not supported (i.e. the keyword contains
).