Support noop on all token types.
This commit is contained in:
parent
d258cdb839
commit
3a6fc5b669
@ -105,7 +105,7 @@ fn compare_json_value<'b, 's>(
|
|||||||
(serde_json::Value::String(w), Token::Atom(e)) if w.as_str() == *e => {
|
(serde_json::Value::String(w), Token::Atom(e)) if w.as_str() == *e => {
|
||||||
Ok(WasmDiffResult::default())
|
Ok(WasmDiffResult::default())
|
||||||
}
|
}
|
||||||
(serde_json::Value::Object(w), Token::Atom(_)) if w.contains_key("noop") => {
|
(serde_json::Value::Object(w), _) if w.contains_key("noop") => {
|
||||||
Ok(WasmDiffResult::default())
|
Ok(WasmDiffResult::default())
|
||||||
}
|
}
|
||||||
(serde_json::Value::Null, Token::Atom(_)) => todo!(),
|
(serde_json::Value::Null, Token::Atom(_)) => todo!(),
|
||||||
|
Loading…
Reference in New Issue
Block a user