Skip to content

Commit 5f8aae8

Browse files
committed
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: 468fa78
1 parent 7b74ec8 commit 5f8aae8

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

tests/draft3/optional/format.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@
8181
"description": "an invalid URI",
8282
"data": "\\\\WINDOWS\\fileshare",
8383
"valid": false
84+
},
85+
{
86+
"description": "an invalid URI though valid URI reference",
87+
"data": "abc",
88+
"valid": false
8489
}
8590
]
8691
},

tests/draft4/optional/format.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
"description": "an invalid URI",
3434
"data": "\\\\WINDOWS\\fileshare",
3535
"valid": false
36+
},
37+
{
38+
"description": "an invalid URI though valid URI reference",
39+
"data": "abc",
40+
"valid": false
3641
}
3742
]
3843
},

0 commit comments

Comments
 (0)