Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
poor-circle committed Jul 10, 2023
1 parent 03090fe commit d3a4142
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/ylt/coro_rpc/impl/coro_rpc_client.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ class coro_rpc_client {

private:
// the const char * will convert to bool instead of std::string_view
// use this struct to prevent it.
// use this struct to prevent it.
struct is_reconnect_t {
bool value = false;
};
Expand Down
2 changes: 1 addition & 1 deletion src/coro_rpc/tests/test_coro_rpc_server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ TEST_CASE("testing coro rpc write error") {
server.async_start().start([](auto &&) {
});
CHECK_MESSAGE(server.wait_for_start(3s), "server start timeout");
coro_rpc_client client(*coro_io::get_global_executor(),g_client_id++);
coro_rpc_client client(*coro_io::get_global_executor(), g_client_id++);
ELOGV(INFO, "run testing coro rpc write error, client_id %d",
client.get_client_id());
auto ec = syncAwait(client.connect("127.0.0.1", "8810"));
Expand Down

0 comments on commit d3a4142

Please sign in to comment.