Skip to content

Commit 0dd0fbc

Browse files
FSMaxBbruth
authored andcommitted
tests.json: Test case sensitivity
1 parent 01348ad commit 0dd0fbc

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,6 +418,12 @@
418418
{ "comment": "Removing nonexistent index",
419419
"doc": ["foo", "bar"],
420420
"patch": [{"op": "remove", "path": "/2"}],
421-
"error": "removing a nonexistent index should fail" }
421+
"error": "removing a nonexistent index should fail" },
422+
423+
{ "comment": "Patch with different capitalisation than doc",
424+
"doc": {"foo":"bar"},
425+
"patch": [{"op": "add", "path": "/FOO", "value": "BAR"}],
426+
"expected": {"foo": "bar", "FOO": "BAR"}
427+
}
422428

423429
]

0 commit comments

Comments
 (0)