Skip to content

Commit

Permalink
Make the URI tests consistent with themselves.
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
Julian committed Feb 3, 2017
2 parents 12ab007 + a599e1e commit 0799212
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/draft3/optional/format.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
"valid": true
},
{
"description": "a valid protocol-relative URI",
"description": "an invalid protocol-relative URI Reference",
"data": "//foo.bar/?baz=qux#quux",
"valid": true
"valid": false
},
{
"description": "an invalid URI",
Expand Down
4 changes: 2 additions & 2 deletions tests/draft4/optional/format.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"valid": true
},
{
"description": "a valid protocol-relative URI",
"description": "an invalid protocol-relative URI Reference",
"data": "//foo.bar/?baz=qux#quux",
"valid": true
"valid": false
},
{
"description": "an invalid URI",
Expand Down
4 changes: 2 additions & 2 deletions tests/draft6/optional/format.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"valid": true
},
{
"description": "a valid protocol-relative URI",
"description": "an invalid protocol-relative URI Reference",
"data": "//foo.bar/?baz=qux#quux",
"valid": true
"valid": false
},
{
"description": "an invalid URI",
Expand Down

0 comments on commit 0799212

Please sign in to comment.