Browse Source

Uncommented unit test in test_should_keep_alive()

Sergey Lyubka 13 năm trước cách đây
mục cha
commit
2e3e1ba7cd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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;