We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39068c6 commit 3151673Copy full SHA for 3151673
1 file changed
tests.json
@@ -276,6 +276,12 @@
276
"patch": [{"op": "remove", "path": "/0"}],
277
"expected": [2, 3, 4] },
278
279
+ { "comment": "test repeated removes",
280
+ "doc": [1, 2, 3, 4],
281
+ "patch": [{ "op": "remove", "path": "/1" },
282
+ { "op": "remove", "path": "/2" }],
283
+ "expected": [1, 3] },
284
+
285
{ "comment": "test remove with bad index should fail",
286
"doc": [1, 2, 3, 4],
287
"patch": [{"op": "remove", "path": "/1e0"}],
0 commit comments