Przeglądaj źródła

Uncommented unit test in test_should_keep_alive()

Sergey Lyubka 13 lat temu
rodzic
commit
2e3e1ba7cd
1 zmienionych plików z 1 dodań i 1 usunięć
  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;