diff options
author | Sree Kuchibhotla <sreek@google.com> | 2017-03-24 10:03:22 -0700 |
---|---|---|
committer | Sree Kuchibhotla <sreek@google.com> | 2017-03-24 10:03:22 -0700 |
commit | 5bec133ba03f8cdffc7e2ace03a06aa5b48aed5c (patch) | |
tree | 81e0ccdf46ccdc0332382265fcd8ac9b647262d7 /test/cpp | |
parent | a69599141c5ebdfbccd544ff8dcd75149c96ba16 (diff) |
clang format
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/grpclb/grpclb_test.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cpp/grpclb/grpclb_test.cc b/test/cpp/grpclb/grpclb_test.cc index b85ad949a5..e0ae86955e 100644 --- a/test/cpp/grpclb/grpclb_test.cc +++ b/test/cpp/grpclb/grpclb_test.cc @@ -354,9 +354,8 @@ static void start_backend_server(server_fixture *sf) { } GPR_ASSERT(ev.type == GRPC_OP_COMPLETE); const string expected_token = - strlen(sf->lb_token_prefix) == 0 - ? "" - : sf->lb_token_prefix + std::to_string(sf->port); + strlen(sf->lb_token_prefix) == 0 ? "" : sf->lb_token_prefix + + std::to_string(sf->port); GPR_ASSERT(contains_metadata(&request_metadata_recv, "lb-token", expected_token.c_str())); |