mirror of
https://github.com/json-c/json-c.git
synced 2026-03-27 00:49:07 +08:00
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:
@@ -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"
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user