Skip to content

Commit 0799212

Browse files
committed
Make the URI tests consistent with themselves.
Plenty of confusion still about Draft 3/4's URI, but that's already being addressed in Draft 6. After this PR, the tests here are at least internally consistent (at this point they all consider only URIs not URI references). Refs: #58, #77, #156 * awwright/master: Flip protocol-relative URI Reference (not a URI)
2 parents 12ab007 + a599e1e commit 0799212

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

tests/draft3/optional/format.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@
7878
"valid": true
7979
},
8080
{
81-
"description": "a valid protocol-relative URI",
81+
"description": "an invalid protocol-relative URI Reference",
8282
"data": "//foo.bar/?baz=qux#quux",
83-
"valid": true
83+
"valid": false
8484
},
8585
{
8686
"description": "an invalid URI",

tests/draft4/optional/format.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"valid": true
3131
},
3232
{
33-
"description": "a valid protocol-relative URI",
33+
"description": "an invalid protocol-relative URI Reference",
3434
"data": "//foo.bar/?baz=qux#quux",
35-
"valid": true
35+
"valid": false
3636
},
3737
{
3838
"description": "an invalid URI",

tests/draft6/optional/format.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"valid": true
3131
},
3232
{
33-
"description": "a valid protocol-relative URI",
33+
"description": "an invalid protocol-relative URI Reference",
3434
"data": "//foo.bar/?baz=qux#quux",
35-
"valid": true
35+
"valid": false
3636
},
3737
{
3838
"description": "an invalid URI",

0 commit comments

Comments
 (0)