From caca5c69b72ebc9f1da923b93a2fae2ead2a98b0 Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Sun, 20 Jun 2021 17:02:44 +0200 Subject: clang-format only --- zenserver-test/zenserver-test.cpp | 8 ++------ zentestutil/zenserverprocess.cpp | 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp index 187566d44..bd348ae14 100644 --- a/zenserver-test/zenserver-test.cpp +++ b/zenserver-test/zenserver-test.cpp @@ -1193,10 +1193,8 @@ struct RemoteExecutionRequest zen::CbObjectWriter PrepReq; - PrepReq << "cmd" - << Command; - PrepReq << "args" - << Arguments; + PrepReq << "cmd" << Command; + PrepReq << "args" << Arguments; PrepReq.BeginArray("files"); @@ -1322,8 +1320,6 @@ TEST_CASE("exec.basic") const uint16_t PortNumber = 13337; - const int kIterationCount = 100; - ZenServerInstance Zen1(TestEnv); Zen1.SetTestDir(TestDir); Zen1.SpawnServer(PortNumber); diff --git a/zentestutil/zenserverprocess.cpp b/zentestutil/zenserverprocess.cpp index 04314bc5f..ba28a43d6 100644 --- a/zentestutil/zenserverprocess.cpp +++ b/zentestutil/zenserverprocess.cpp @@ -55,7 +55,7 @@ ZenTestEnvironment::RootDir(std::string_view Path) { std::filesystem::path Root = m_ProgramBaseDir.parent_path().parent_path(); - std::filesystem::path Relative { Path }; + std::filesystem::path Relative{Path}; return Root / Relative; } -- cgit v1.2.3