فهرست منبع

Uncommented unit test in test_should_keep_alive()

Sergey Lyubka 13 سال پیش
والد
کامیت
2e3e1ba7cd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      test/unit_test.c

+ 1 - 1
test/unit_test.c

@@ -32,7 +32,7 @@ static void test_should_keep_alive(void) {
   assert(should_keep_alive(&conn) == 1);
 
   conn.request_info.status_code = 401;
-  //assert(should_keep_alive(&conn) == 0);
+  assert(should_keep_alive(&conn) == 0);
 
   conn.request_info.status_code = 200;
   conn.must_close = 1;