Skip to content

Commit 69fe40f

Browse files
some more relative-json-pointer tests
1 parent 6505944 commit 69fe40f

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/draft2019-09/optional/format/relative-json-pointer.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,21 @@
3232
"description": "negative prefix",
3333
"data": "-1/foo/bar",
3434
"valid": false
35+
},
36+
{
37+
"description": "## is not a valid json-pointer",
38+
"data": "0##",
39+
"valid": false
40+
},
41+
{
42+
"description": "zero cannot be followed by other digits, plus json-pointer",
43+
"data": "01/a",
44+
"valid": false
45+
},
46+
{
47+
"description": "zero cannot be followed by other digits, plus octothorpe",
48+
"data": "01#",
49+
"valid": false
3550
}
3651
]
3752
}

0 commit comments

Comments
 (0)