mirror of
https://github.com/DaveGamble/cJSON
synced 2025-03-22 19:07:45 +00:00
Squashed 'tests/json-patch-tests/' changes from 5405313..0dd0fbc
0dd0fbc tests.json: Test case sensitivity 01348ad tests.json: Remove trailing whitespace git-subtree-dir: tests/json-patch-tests git-subtree-split: 0dd0fbc5ec7eb9dab362fab47e08419079d5675e
This commit is contained in:
parent
48b3909946
commit
ffb877c94a
@ -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"}
|
||||
}
|
||||
|
||||
]
|
||||
|
Loading…
Reference in New Issue
Block a user