Skip to content
Snippets Groups Projects
Commit 1a2e40e0 authored by David Garcia Quintas's avatar David Garcia Quintas
Browse files

clang-format

parent 1a84f99c
No related branches found
No related tags found
No related merge requests found
...@@ -345,9 +345,8 @@ static void start_backend_server(server_fixture *sf) { ...@@ -345,9 +345,8 @@ static void start_backend_server(server_fixture *sf) {
} }
GPR_ASSERT(ev.type == GRPC_OP_COMPLETE); GPR_ASSERT(ev.type == GRPC_OP_COMPLETE);
const string expected_token = const string expected_token =
strlen(sf->lb_token_prefix) == 0 strlen(sf->lb_token_prefix) == 0 ? "" : sf->lb_token_prefix +
? "" std::to_string(sf->port);
: sf->lb_token_prefix + std::to_string(sf->port);
GPR_ASSERT(contains_metadata(&request_metadata_recv, "lb-token", GPR_ASSERT(contains_metadata(&request_metadata_recv, "lb-token",
expected_token.c_str())); expected_token.c_str()));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment