aboutsummaryrefslogtreecommitdiff
path: root/zenserver-test/zenserver-test.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-09 20:46:22 +0200
committerStefan Boberg <[email protected]>2021-09-09 20:46:22 +0200
commit46aa14744ba72873975d288b568fa3b15d196a78 (patch)
tree335055510cd45ef033b8b7565e9123f2b6887ce1 /zenserver-test/zenserver-test.cpp
parentMerge from main (diff)
downloadzen-46aa14744ba72873975d288b568fa3b15d196a78.tar.xz
zen-46aa14744ba72873975d288b568fa3b15d196a78.zip
clang-format
Diffstat (limited to 'zenserver-test/zenserver-test.cpp')
-rw-r--r--zenserver-test/zenserver-test.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/zenserver-test/zenserver-test.cpp b/zenserver-test/zenserver-test.cpp
index e71b7f730..791bf4946 100644
--- a/zenserver-test/zenserver-test.cpp
+++ b/zenserver-test/zenserver-test.cpp
@@ -1383,11 +1383,7 @@ TEST_CASE("mesh.basic")
class ZenServerTestHelper
{
public:
- ZenServerTestHelper(std::string_view HelperId, int ServerCount)
- : m_HelperId{HelperId}
- , m_ServerCount{ServerCount}
- {
- }
+ ZenServerTestHelper(std::string_view HelperId, int ServerCount) : m_HelperId{HelperId}, m_ServerCount{ServerCount} {}
~ZenServerTestHelper() {}
void SpawnServers()
@@ -1464,7 +1460,7 @@ TEST_CASE("http.package")
Servers.SpawnServers();
ZenServerInstance& Instance = Servers.GetInstance(0);
- const std::string BaseUri = Instance.GetBaseUri();
+ const std::string BaseUri = Instance.GetBaseUri();
{
cpr::Response r = cpr::Post(cpr::Url{"{}/testing/package"_format(BaseUri)}, cpr::Body{"yoyoyoyo"});