diff options
author | Julian Berman <Julian@GrayVines.com> | 2013-10-27 15:28:46 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2013-10-27 15:28:46 -0400 |
commit | 5f8aae8efc5a92c4b5f8c631f51c8b04a7141ea3 (patch) | |
tree | 726341aa974d091dad433682b76564a7e064a23a | |
parent | 7b74ec8aa8f2b3414cb70ffa0e5a8fe3d1e24bcd (diff) | |
download | jsonschema-5f8aae8efc5a92c4b5f8c631f51c8b04a7141ea3.tar.gz |
Squashed 'json/' changes from b6f129e..468fa78
468fa78 Add a test for valid URI reference, but invalid URI (which is not valid overall).
git-subtree-dir: json
git-subtree-split: 468fa788ca2053a69815c43abc500e044086120c
-rw-r--r-- | tests/draft3/optional/format.json | 5 | ||||
-rw-r--r-- | tests/draft4/optional/format.json | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/draft3/optional/format.json b/tests/draft3/optional/format.json index 1ff461a..fc86b03 100644 --- a/tests/draft3/optional/format.json +++ b/tests/draft3/optional/format.json @@ -81,6 +81,11 @@ "description": "an invalid URI", "data": "\\\\WINDOWS\\fileshare", "valid": false + }, + { + "description": "an invalid URI though valid URI reference", + "data": "abc", + "valid": false } ] }, diff --git a/tests/draft4/optional/format.json b/tests/draft4/optional/format.json index cba8fc3..d94a309 100644 --- a/tests/draft4/optional/format.json +++ b/tests/draft4/optional/format.json @@ -33,6 +33,11 @@ "description": "an invalid URI", "data": "\\\\WINDOWS\\fileshare", "valid": false + }, + { + "description": "an invalid URI though valid URI reference", + "data": "abc", + "valid": false } ] }, |