test/url: move test for empty port-specification
authorFilip Roséen <filip@atch.se>
Fri, 28 Oct 2016 08:49:44 +0000 (10:49 +0200)
committerThomas Guillem <thomas@gllm.fr>
Fri, 28 Oct 2016 17:02:58 +0000 (19:02 +0200)
commit436b208296d6d07cf346315491ac8321b1d01d8a
tree0c2ad2db3d3610713795dbaad96adfe3113bcc9b
parentbe6b2bced6d43e4bd4dcd0da7d7d4e6a22f2b23b
test/url: move test for empty port-specification

According to RFC3986, the port specifier does not have to contain
digits following the colon. This means that "http://example.com:" is a
valid URI, and that the relevant test should not be within the
"Invalid URIs"-group.

Signed-off-by: Thomas Guillem <thomas@gllm.fr>
src/test/url.c