Skip to content

Commit c2f2388

Browse files
committed
Enable test create_https_listener_get on Windows if CPPREST_FORCE_HTTP_LISTENER_ASIO is defined
1 parent ff50bb0 commit c2f2388

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Release/tests/functional/http/listener/listener_construction_tests.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ TEST_FIXTURE(uri_address, listener_config_creation)
430430
}
431431
}
432432

433-
#if !defined(_WIN32) && !defined(__cplusplus_winrt)
433+
#if !defined(_WIN32) && !defined(__cplusplus_winrt) || defined(CPPREST_FORCE_HTTP_LISTENER_ASIO)
434434

435435
TEST_FIXTURE(uri_address, create_https_listener_get, "Ignore", "github 209")
436436
{
@@ -545,7 +545,6 @@ XzJTD4slrGSJrcpLt/g/Jqqdjg==
545545

546546
for (auto&& h : all_headers)
547547
{
548-
std::cout << "HEADER - " << h.first << ": " << h.second << std::endl;
549548
VERIFY_IS_TRUE(request.headers().has(h.first));
550549
VERIFY_ARE_EQUAL(h.second, request.headers().find(h.first)->second);
551550
}

0 commit comments

Comments
 (0)