X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b90f122bd10bd896f2f9b0cf5676bcd436a7d42e..c240ff9a4d4efc1645f226593fec0c5efda5c17b:/lib/t-url.c diff --git a/lib/t-url.c b/lib/t-url.c index 89fb345..aa83940 100644 --- a/lib/t-url.c +++ b/lib/t-url.c @@ -19,10 +19,8 @@ */ #include "test.h" -void test_url(void) { +static void test_url(void) { struct url p; - - printf("test_url\n"); insist(parse_url("http://www.example.com/example/path", &p) == 0); check_string(p.scheme, "http"); @@ -50,6 +48,8 @@ void test_url(void) { insist(parse_url("http://www.example.com/example%2zpath", &p) == -1); } +TEST(url); + /* Local Variables: c-basic-offset:2