We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4962be commit a27a73cCopy full SHA for a27a73c
1 file changed
tests.json
@@ -24,10 +24,10 @@
24
"patch": [],
25
"expected": {"foo":{"bar":2, "foo": 1}} },
26
27
- { "comment": "add to existing null-valued field should err",
+ { "comment": "add replaces any existing field",
28
"doc": {"foo": null},
29
"patch": [{"op": "add", "path": "/foo", "value":1}],
30
- "error": "'add' target already set" },
+ "expected": {"foo": 1} },
31
32
{ "comment": "toplevel array",
33
"doc": [],
0 commit comments