Update json-patch-tests

This commit is contained in:
Max Bruckner 2017-05-02 01:56:12 +02:00
commit a01267c0a4
1 changed files with 8 additions and 2 deletions

View File

@ -418,6 +418,12 @@
{ "comment": "Removing nonexistent index",
"doc": ["foo", "bar"],
"patch": [{"op": "remove", "path": "/2"}],
"error": "removing a nonexistent index should fail" }
"error": "removing a nonexistent index should fail" },
{ "comment": "Patch with different capitalisation than doc",
"doc": {"foo":"bar"},
"patch": [{"op": "add", "path": "/FOO", "value": "BAR"}],
"expected": {"foo": "bar", "FOO": "BAR"}
}
]