Skip to content

Commit 85819b6

Browse files
committed
Merge pull request #8 from tmbo/patch-1
Remove comment only objects
2 parents 50656c1 + f19af0f commit 85819b6

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)