chiark / gitweb /
Further macro tests
[disorder] / lib / t-url.c
index 89fb3457369e1679ec888986766cab4435235f6e..aa83940529e006bd9171c0c142a244b3d5021337 100644 (file)
  */
 #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