From 5f8aae8efc5a92c4b5f8c631f51c8b04a7141ea3 Mon Sep 17 00:00:00 2001 From: Julian Berman Date: Sun, 27 Oct 2013 15:28:46 -0400 Subject: 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 --- tests/draft3/optional/format.json | 5 +++++ tests/draft4/optional/format.json | 5 +++++ 2 files changed, 10 insertions(+) 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 } ] }, -- cgit v1.2.1