mirror of
https://github.com/qicosmos/rest_rpc.git
synced 2026-08-29 08:34:47 +08:00
update
This commit is contained in:
@@ -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<modify_person>(std::chrono::minutes(2), p, "jack"));
|
||||
cl.get_executor(), cl.call_for<modify_person>(std::chrono::minutes(2),
|
||||
p, std::string("jack")));
|
||||
CHECK(result1.ec == rpc_errc::ok);
|
||||
CHECK(result1.value.name == "jack");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user