Skip to content

Commit 468fa78

Browse files
committed
Add a test for valid URI reference, but invalid URI (which is not valid overall).
1 parent b6f129e commit 468fa78

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

tests/draft3/optional/format.json

+5
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

+5
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)