Skip to content

Commit bd1da43

Browse files
committed
Disable Expect100ContinueTest test on Windows
1 parent 4c2a608 commit bd1da43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/test.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
#include <httplib.h>
22
#include <signal.h>
33

4+
#ifndef _WIN32
45
#include <curl/curl.h>
6+
#endif
57
#include <gtest/gtest.h>
68

79
#include <atomic>
@@ -7607,6 +7609,7 @@ TEST(DirtyDataRequestTest, HeadFieldValueContains_CR_LF_NUL) {
76077609
cli.Get("/test", {{"Test", "_\n\r_\n\r_"}});
76087610
}
76097611

7612+
#ifndef _WIN32
76107613
TEST(Expect100ContinueTest, ServerClosesConnection) {
76117614
static constexpr char reject[] = "Unauthorized";
76127615
static constexpr char accept[] = "Upload accepted";
@@ -7704,3 +7707,4 @@ TEST(Expect100ContinueTest, ServerClosesConnection) {
77047707
}
77057708
}
77067709
}
7710+
#endif

0 commit comments

Comments
 (0)