Skip to content

Commit 732fcfe

Browse files
committed
fix test
1 parent 1f7c463 commit 732fcfe

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

tests/test_h1_client.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5287,11 +5287,7 @@ H1_CLIENT_TEST_CASE(h1_client_write_data_multiple_chunks) {
52875287
H1_CLIENT_TEST_CASE(h1_client_write_data_not_enabled) {
52885288
(void)ctx;
52895289
struct write_data_test_fixture fixture;
5290-
struct aws_http_header headers[] = {
5291-
{.name = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("Content-Length"),
5292-
.value = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("5")},
5293-
};
5294-
ASSERT_SUCCESS(s_write_data_test_setup(&fixture, allocator, headers, AWS_ARRAY_SIZE(headers), false));
5290+
ASSERT_SUCCESS(s_write_data_test_setup(&fixture, allocator, NULL, 0, false));
52955291

52965292
struct aws_byte_cursor data = AWS_BYTE_CUR_INIT_FROM_STRING_LITERAL("hello");
52975293
struct aws_input_stream *input_stream = aws_input_stream_new_from_cursor(allocator, &data);

0 commit comments

Comments
 (0)