uri: add even more trivial validity test cases
This commit is contained in:
parent
50b53f7269
commit
1664c283c0
@ -345,6 +345,8 @@ void
|
|||||||
test_validity (cruft::TAP::logger &tap)
|
test_validity (cruft::TAP::logger &tap)
|
||||||
{
|
{
|
||||||
static char const *GOOD[] = {
|
static char const *GOOD[] = {
|
||||||
|
"http://example.com/",
|
||||||
|
"http://example.com",
|
||||||
"http://[2001:db8::7]/",
|
"http://[2001:db8::7]/",
|
||||||
"http://[2001:db8::7]:80/",
|
"http://[2001:db8::7]:80/",
|
||||||
"http://user@example.com:10/",
|
"http://user@example.com:10/",
|
||||||
|
Loading…
Reference in New Issue
Block a user