Skip to content

Commit 95d909f

Browse files
committed
Send only http::response.
1 parent 5a79468 commit 95d909f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/channels/channel_http.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ BOOST_AUTO_TEST_CASE(channel_http__send__not_connected__expected)
200200
BOOST_REQUIRE(!channel_ptr->stopped());
201201
boost::asio::post(channel_ptr->strand(), [&]() NOEXCEPT
202202
{
203-
channel_ptr->send<http::string_response>({}, handler);
203+
channel_ptr->send<http::response>({}, handler);
204204
});
205205

206206
// 10009 (WSAEBADF, invalid file handle) gets mapped to bad_stream.
@@ -227,7 +227,7 @@ BOOST_AUTO_TEST_CASE(channel_http__send__not_connected_move__expected)
227227
BOOST_REQUIRE(!channel_ptr->stopped());
228228
boost::asio::post(channel_ptr->strand(), [&]() NOEXCEPT
229229
{
230-
channel_ptr->send(http::string_response{}, [&](code ec)
230+
channel_ptr->send(http::response{}, [&](code ec)
231231
{
232232
result &= channel_ptr->stopped();
233233
promise.set_value(ec);

0 commit comments

Comments
 (0)