forked from boostorg/beast
Add move-only handler tests
This commit is contained in:
@@ -639,6 +639,16 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
testMoveOnly()
|
||||
{
|
||||
boost::asio::io_context ioc;
|
||||
stream<test::stream> ws{ioc};
|
||||
ws.async_read_some(
|
||||
boost::asio::mutable_buffer{},
|
||||
move_only_handler{});
|
||||
}
|
||||
|
||||
void
|
||||
run() override
|
||||
{
|
||||
@@ -649,6 +659,7 @@ public:
|
||||
testIssue954();
|
||||
testIssueBF1();
|
||||
testIssueBF2();
|
||||
testMoveOnly();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user