From 3cdd9bbdbce1f460254b7117ebb7cff67146d5d1 Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Fri, 15 May 2015 14:43:47 -0700 Subject: clang-format --- test/cpp/end2end/crash_test.cc | 10 ++++++---- test/cpp/end2end/crash_test_server.cc | 1 - 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'test/cpp/end2end') diff --git a/test/cpp/end2end/crash_test.cc b/test/cpp/end2end/crash_test.cc index 91370edcd4..10f4944b54 100644 --- a/test/cpp/end2end/crash_test.cc +++ b/test/cpp/end2end/crash_test.cc @@ -73,15 +73,17 @@ class CrashTest : public ::testing::Test { protected: CrashTest() {} - std::unique_ptr CreateServerAndStub() { + std::unique_ptr + CreateServerAndStub() { auto port = grpc_pick_unused_port_or_die(); auto addr = (std::ostringstream() << "localhost:" << port).str(); server_.reset(new SubProcess({ - (std::ostringstream() << g_root << "/crash_test_server").str(), - (std::ostringstream() << "--address=" << addr).str(), + (std::ostringstream() << g_root << "/crash_test_server").str(), + (std::ostringstream() << "--address=" << addr).str(), })); GPR_ASSERT(server_); - return grpc::cpp::test::util::TestService::NewStub(CreateChannel(addr, InsecureCredentials(), ChannelArguments())); + return grpc::cpp::test::util::TestService::NewStub( + CreateChannel(addr, InsecureCredentials(), ChannelArguments())); } void KillServer() { diff --git a/test/cpp/end2end/crash_test_server.cc b/test/cpp/end2end/crash_test_server.cc index b6b30a5204..1f8f533199 100644 --- a/test/cpp/end2end/crash_test_server.cc +++ b/test/cpp/end2end/crash_test_server.cc @@ -83,7 +83,6 @@ void RunServer() { std::cout << "Server listening on " << FLAGS_address << std::endl; server->Wait(); } - } } -- cgit v1.2.3