Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Jan 15, 2024
1 parent 42d3cf9 commit cc369fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/coro_rpc/examples/base_examples/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Lazy<void> show_rpc_call() {
assert(ret.value() == "HelloService::hello_with_delay"s);

ret = co_await client.call<return_error>();
assert(ret.error().code = 404);
assert(ret.error().code == 404);
assert(ret.error().msg == "404 Not Found.");

ret = co_await client.call<rpc_with_state_by_tag>();
Expand Down

0 comments on commit cc369fb

Please sign in to comment.