diff options
author | Julian Berman <Julian@GrayVines.com> | 2015-06-05 08:28:25 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2015-06-05 08:28:25 -0400 |
commit | 7afa6f02eb14cbe2f5003f2836c4f16761857355 (patch) | |
tree | 40490d151cf691c941779251edb048b6f9d57660 /tests/draft4/ref.json | |
parent | e886fd27a6a276c784f4e8af99412950208f3f7b (diff) | |
download | jsonschema-7afa6f02eb14cbe2f5003f2836c4f16761857355.tar.gz |
Squashed 'json/' changes from 0b657e8..3481a79
3481a79 Merge pull request #91 from gelraen/nonanchoredpattern
818553f Update pattern.json
b63c96f Merge pull request #92 from gelraen/escapedref
2f043b0 Update ref.json
1ebe2b4 Add valid instances for escaped ref tests
b117902 Add a test that checks for implicit anchoring
d319afa Merge pull request #90 from bugventure/develop
a2c9de2 Add jsen to the list of validators
6d4adfe Merge pull request #87 from legoktm/protocol-relative
824cb99 Add test case for protocol-relative uri validation
git-subtree-dir: json
git-subtree-split: 3481a793ab6a1042a5973549f735b18f2355fb4e
Diffstat (limited to 'tests/draft4/ref.json')
-rw-r--r-- | tests/draft4/ref.json | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/tests/draft4/ref.json b/tests/draft4/ref.json index b38ff03..7e80552 100644 --- a/tests/draft4/ref.json +++ b/tests/draft4/ref.json @@ -86,19 +86,34 @@ }, "tests": [ { - "description": "slash", + "description": "slash invalid", "data": {"slash": "aoeu"}, "valid": false }, { - "description": "tilda", + "description": "tilda invalid", "data": {"tilda": "aoeu"}, "valid": false }, { - "description": "percent", + "description": "percent invalid", "data": {"percent": "aoeu"}, "valid": false + }, + { + "description": "slash valid", + "data": {"slash": 123}, + "valid": true + }, + { + "description": "tilda valid", + "data": {"tilda": 123}, + "valid": true + }, + { + "description": "percent valid", + "data": {"percent": 123}, + "valid": true } ] }, |