Skip to content

Commit e4db5c6

Browse files
committed
Apply clang-format
1 parent 240e4c9 commit e4db5c6

10 files changed

Lines changed: 830 additions & 334 deletions

tests/server/http_auth.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ int main()
1717
const int port = 18082;
1818
const std::string token = "secret-token";
1919
const std::string origin = "https://example.com";
20-
server::HttpServerWrapper http{core, "127.0.0.1", port, token, origin,
21-
static_cast<size_t>(1024 * 16)};
20+
server::HttpServerWrapper http{core, "127.0.0.1", port,
21+
token, origin, static_cast<size_t>(1024 * 16)};
2222
if (!http.start())
2323
{
2424
std::cerr << "failed to start HTTP server\n";

tests/server/interactions_fixture.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
using namespace fastmcpp;
1616

17-
namespace fastmcpp {
17+
namespace fastmcpp
18+
{
1819

1920
inline std::shared_ptr<server::Server> create_interaction_server()
2021
{

tests/server/interactions_helpers.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
#include "interactions_helpers.hpp"
44

5-
namespace fastmcpp {
5+
namespace fastmcpp
6+
{
67

78
std::shared_ptr<server::Server> create_resource_interaction_server()
89
{

tests/server/interactions_helpers.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33

44
#include "interactions_fixture.hpp"
55

6-
namespace fastmcpp {
6+
namespace fastmcpp
7+
{
78

89
std::shared_ptr<server::Server> create_resource_interaction_server();
910

0 commit comments

Comments
 (0)