Skip to content

Commit f19af0f

Browse files
committed
Update tests.json
As you described in the README doc and patch fields are mandatory and therefore this array shouldn't contain objects with only a comment field present
1 parent 50656c1 commit f19af0f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@
196196
"patch": [{"op": "test", "path": "/foo", "value": [1, 2]}],
197197
"error": "test op should fail" },
198198

199-
{ "comment": "json-pointer tests" },
200-
201199
{ "comment": "Whole document",
202200
"doc": { "foo": 1 },
203201
"patch": [{"op": "test", "path": "", "value": {"foo": 1}}],
@@ -296,7 +294,5 @@
296294
{ "comment": "test add with bad number should fail",
297295
"doc": ["foo", "sil"],
298296
"patch": [{"op": "add", "path": "/1e0", "value": "bar"}],
299-
"error": "add op shouldn't add to array with bad number" },
300-
301-
{ "comment": "tests complete" }
297+
"error": "add op shouldn't add to array with bad number" }
302298
]

0 commit comments

Comments
 (0)