We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1327f8c commit 6c1c39dCopy full SHA for 6c1c39d
tests.json
@@ -112,6 +112,11 @@
112
"patch": [{"op":"add", "path": "/2", "value": "bar"}],
113
"expected": ["foo", "sil", "bar"] },
114
115
+ { "comment": "add item to array at index > length should fail",
116
+ "doc": ["foo", "sil"],
117
+ "patch": [{"op":"add", "path": "/3", "value": "bar"}],
118
+ "error": "index is greater than number of items in array" },
119
+
120
{ "comment": "test against implementation-specific numeric parsing",
121
"doc": {"1e0": "foo"},
122
"patch": [{"op": "test", "path": "/1e0", "value": "foo"}],
0 commit comments