We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6080724 commit 27c39f6Copy full SHA for 27c39f6
tests/test_rest_rpc.cpp
@@ -349,7 +349,7 @@ TEST_CASE("test_client_subscribe_not_exist_key") {
349
server.set_error_callback([&stop](asio::error_code ec, string_view msg) {
350
std::cout << "line: " << __LINE__ << ", msg: " << ec.message() << " -- "
351
<< msg << std::endl;
352
- CHECK_EQ(ec, asio::error::invalid_argument);
+ CHECK_EQ(ec, rpc_error::no_such_key);
353
stop = true;
354
});
355
server.set_conn_timeout_callback([](int64_t conn_id) {
0 commit comments