Skip to content

Commit

Permalink
Merge pull request #419 from ChALkeR/chalker/format-uri
Browse files Browse the repository at this point in the history
Test that uri format scheme is validated for allowed chars
  • Loading branch information
Julian authored Aug 3, 2020
2 parents 5443621 + 37189ae commit 85f0d45
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/draft2019-09/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
"description": "an invalid URI with spaces and missing scheme",
"data": ":// should fail",
"valid": false
},
{
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft4/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
"description": "an invalid URI with spaces and missing scheme",
"data": ":// should fail",
"valid": false
},
{
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft6/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
"description": "an invalid URI with spaces and missing scheme",
"data": ":// should fail",
"valid": false
},
{
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
}
]
}
Expand Down
5 changes: 5 additions & 0 deletions tests/draft7/optional/format/uri.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@
"description": "an invalid URI with spaces and missing scheme",
"data": ":// should fail",
"valid": false
},
{
"description": "an invalid URI with comma in scheme",
"data": "bar,baz:foo",
"valid": false
}
]
}
Expand Down

0 comments on commit 85f0d45

Please sign in to comment.