X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/b90f122bd10bd896f2f9b0cf5676bcd436a7d42e..0096d2bb33dfa78476bec62efbce063cf983daf9:/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