From 0bbc657762734a675268233a9050632512564d40 Mon Sep 17 00:00:00 2001 From: qicosmos Date: Tue, 14 Oct 2025 08:43:40 +0800 Subject: [PATCH] update --- tests/test_rest_rpc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_rest_rpc.cpp b/tests/test_rest_rpc.cpp index 3d78ff5..6c82fbe 100644 --- a/tests/test_rest_rpc.cpp +++ b/tests/test_rest_rpc.cpp @@ -359,8 +359,8 @@ TEST_CASE("test server start") { CHECK(result.ec == rpc_errc::ok); auto result1 = sync_wait( - cl.get_executor(), - cl.call_for(std::chrono::minutes(2), p, "jack")); + cl.get_executor(), cl.call_for(std::chrono::minutes(2), + p, std::string("jack"))); CHECK(result1.ec == rpc_errc::ok); CHECK(result1.value.name == "jack"); }