Fix json_patch_apply handling of removing the whole document (i.e. "path":"").

Enable all disabled tests, add a few more including some with null documents.
This commit is contained in:
Eric Hawicz committed 2023-07-31 22:18:04 -04:00
1 parent 9dbf2880cc
commit ce3184243a
5 files changed
+97 -24

No files matched your search

+2 -2
View File
@@ -192,8 +192,8 @@
"patch": [
{ "op": "add", "path": "/baz", "value": "qux", "op": "remove" }
],
"error": "operation has two 'op' members",
"disabled": true
"error_wont_happen_in_jsonc": "operation has two 'op' members",
"error": "Did not find element referenced by path field"
},
{