summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/draft7/optional/format/relative-json-pointer.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/draft7/optional/format/relative-json-pointer.json b/tests/draft7/optional/format/relative-json-pointer.json
index 17816c9..22fb14e 100644
--- a/tests/draft7/optional/format/relative-json-pointer.json
+++ b/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
}
]
}