mirror of
https://github.com/zeromq/cppzmq.git
synced 2025-12-23 14:03:15 +01:00
fix CHECK_THROWS_AS usage
"Note that the exception type is extended with const& and you should not include it yourself." according to https://github.com/catchorg/Catch2/blob/devel/docs/assertions.md#exceptions
This commit is contained in:
@@ -115,7 +115,7 @@ TEST_CASE("send_multipart test", "[send_multipart]")
|
||||
SECTION("send with invalid socket") {
|
||||
std::vector<zmq::message_t> msgs(1);
|
||||
CHECK_THROWS_AS(zmq::send_multipart(zmq::socket_ref(), msgs),
|
||||
const zmq::error_t &);
|
||||
zmq::error_t);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user