diff options
Diffstat (limited to 'json/tests/draft7/optional/format')
-rw-r--r-- | json/tests/draft7/optional/format/relative-json-pointer.json | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/json/tests/draft7/optional/format/relative-json-pointer.json b/json/tests/draft7/optional/format/relative-json-pointer.json index 17816c9..22fb14e 100644 --- a/json/tests/draft7/optional/format/relative-json-pointer.json +++ b/json/tests/draft7/optional/format/relative-json-pointer.json @@ -32,6 +32,21 @@ "description": "negative prefix", "data": "-1/foo/bar", "valid": false + }, + { + "description": "## is not a valid json-pointer", + "data": "0##", + "valid": false + }, + { + "description": "zero cannot be followed by other digits, plus json-pointer", + "data": "01/a", + "valid": false + }, + { + "description": "zero cannot be followed by other digits, plus octothorpe", + "data": "01#", + "valid": false } ] } |