Explorar o código

Adapt test to changes in remove_double_dots_and_double_slashes

bel %!s(int64=9) %!d(string=hai) anos
pai
achega
aeb8721503
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  1. 3 1
      test/private.c

+ 3 - 1
test/private.c

@@ -202,7 +202,8 @@ START_TEST(test_remove_double_dots_and_double_slashes)
 	    {"////a", "/a"},
 	    {"/.....", "/."},
 	    {"/......", "/"},
-	    {"...", "..."},
+	    {"..", "."},
+	    {"...", "."},
 	    {"/...///", "/./"},
 	    {"/a...///", "/a.../"},
 	    {"/.x", "/.x"},
@@ -709,6 +710,7 @@ MAIN_PRIVATE(void)
 {
 	test_alloc_vprintf(0);
 	test_mg_vsnprintf(0);
+	test_remove_double_dots_and_double_slashes(0);
 	test_parse_date_string(0);
 	test_parse_http_message(0);
 }