ソースを参照

Adapt test to changes in remove_double_dots_and_double_slashes

bel 9 年 前
コミット
aeb8721503
1 ファイル変更3 行追加1 行削除
  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);
 }