Skip to content

Commit cee7087

Browse files
committed
do check
1 parent f9bcffc commit cee7087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,7 @@ static void test_http_server(void) {
870870

871871
ASSERT(fetch(&mgr, buf, url, "GET /a.txt HTTP/1.0\nA:\tB\n\n") == 200);
872872
ASSERT(cmpbody(buf, "hello\n") == 0);
873-
ASSERT(cmpheader(buf, "C", "D"));
873+
ASSERT(cmpheader(buf, "A", "B") == 0);
874874

875875
// Invalid header: failure
876876
ASSERT(fetch(&mgr, buf, url, "GET /a.txt HTTP/1.0\nA B\n\n") == 0);

0 commit comments

Comments
 (0)