mirror of
https://github.com/lammertb/libhttp.git
synced 2026-01-03 16:02:30 +03:00
Re-format source
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <Windows.h>
|
||||
#define test_sleep(x) (Sleep(x * 1000))
|
||||
#define test_sleep(x) (Sleep((x)*1000))
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#define test_sleep(x) (sleep(x))
|
||||
@@ -863,6 +863,7 @@ START_TEST(test_request_handlers)
|
||||
ck_assert(ri != NULL);
|
||||
ck_assert_str_eq(ri->uri, "200");
|
||||
i = mg_read(client_conn, buf, sizeof(buf));
|
||||
ck_assert(i < sizeof(buf));
|
||||
ck_assert_int_eq(i, (int)strlen(expected));
|
||||
buf[i] = 0;
|
||||
ck_assert_str_eq(buf, expected);
|
||||
|
||||
Reference in New Issue
Block a user