From 4e724478878517116c689ff4248a75b5cf7f1dca Mon Sep 17 00:00:00 2001 From: qicosmos Date: Wed, 17 Sep 2025 14:18:10 +0800 Subject: [PATCH] compile --- tests/test_rest_rpc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_rest_rpc.cpp b/tests/test_rest_rpc.cpp index 021c75a..69b1e2a 100644 --- a/tests/test_rest_rpc.cpp +++ b/tests/test_rest_rpc.cpp @@ -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) {