summaryrefslogtreecommitdiff
path: root/json
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
commit6f5ee207874fff12acdadc5ba53aabe596331570 (patch)
tree4c026c1e2c71bc15d9c15b81b03cf12b096ac7e5 /json
parente908b8055596329f0b4ba1bc0dc1c793b437299f (diff)
parent528eb6f3d00e32a0c71a0bb10c1e443d102d5120 (diff)
downloadjsonschema-6f5ee207874fff12acdadc5ba53aabe596331570.tar.gz
Merge commit '528eb6f3d00e32a0c71a0bb10c1e443d102d5120' into draft2020-12
* commit '528eb6f3d00e32a0c71a0bb10c1e443d102d5120': Squashed 'json/' changes from fd0aa9f8..f9acc454
Diffstat (limited to 'json')
-rw-r--r--json/tests/draft7/optional/format/relative-json-pointer.json15
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
}
]
}