mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 08:34:47 +08:00
compile
This commit is contained in:
@@ -349,7 +349,7 @@ TEST_CASE("test_client_subscribe_not_exist_key") {
|
||||
server.set_error_callback([&stop](asio::error_code ec, string_view msg) {
|
||||
std::cout << "line: " << __LINE__ << ", msg: " << ec.message() << " -- "
|
||||
<< msg << std::endl;
|
||||
CHECK_EQ(ec, rpc_error::no_such_key);
|
||||
CHECK_EQ(ec, rpc_errc::no_such_key);
|
||||
stop = true;
|
||||
});
|
||||
server.set_conn_timeout_callback([](int64_t conn_id) {
|
||||
|
||||
Reference in New Issue
Block a user