diff options
author | Nathan Herring <nherring@google.com> | 2018-07-19 23:49:02 +0200 |
---|---|---|
committer | Nathan Herring <nherring@google.com> | 2018-07-19 23:49:02 +0200 |
commit | adb8581456447c1468d161af90d9194c473d3fce (patch) | |
tree | a1faa9d83615c1ef5b25c9821e0804d25c9f5020 /test/cpp | |
parent | c7fae8812f4e44ae3c28aa5b62c2cd1e243d341a (diff) |
clang format
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/util/grpc_tool_test.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/cpp/util/grpc_tool_test.cc b/test/cpp/util/grpc_tool_test.cc index b741b50567..7e7f44551e 100644 --- a/test/cpp/util/grpc_tool_test.cc +++ b/test/cpp/util/grpc_tool_test.cc @@ -110,6 +110,7 @@ class TestCliCredentials final : public grpc::testing::CliCredentials { return SslCredentials(grpc::SslCredentialsOptions(ssl_opts)); } const grpc::string GetCredentialUsage() const override { return ""; } + private: const bool secure_; }; @@ -775,10 +776,10 @@ TEST_F(GrpcToolTest, ListCommand_OverrideSslHostName) { FLAGS_l = false; FLAGS_enable_ssl = true; FLAGS_ssl_target = "z.test.google.fr"; - EXPECT_TRUE(0 == GrpcToolMainLib(ArraySize(argv), argv, - TestCliCredentials(true), - std::bind(PrintStream, &output_stream, - std::placeholders::_1))); + EXPECT_TRUE( + 0 == GrpcToolMainLib( + ArraySize(argv), argv, TestCliCredentials(true), + std::bind(PrintStream, &output_stream, std::placeholders::_1))); EXPECT_TRUE(0 == strcmp(output_stream.str().c_str(), "grpc.testing.EchoTestService\n" "grpc.reflection.v1alpha.ServerReflection\n")); |