summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Berman <Julian@GrayVines.com>2021-08-04 10:51:47 +0100
committerJulian Berman <Julian@GrayVines.com>2021-08-04 10:51:47 +0100
commit528eb6f3d00e32a0c71a0bb10c1e443d102d5120 (patch)
tree6783577d6fd8d0182a6f8f3c0d7cafd2b2ddd520
parent22e5c949401c3a0cd650a4fb28c6e91574a7ec47 (diff)
downloadjsonschema-528eb6f3d00e32a0c71a0bb10c1e443d102d5120.tar.gz
Squashed 'json/' changes from fd0aa9f8..f9acc454
f9acc454 Backport #451 to draft 7. git-subtree-dir: json git-subtree-split: f9acc4546f9e4b63c8e35e67db69f0bc583316b8
-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
}
]
}