diff --git a/.clang-format b/.clang-format index cb03ae83..8dcefa06 100644 --- a/.clang-format +++ b/.clang-format @@ -7,7 +7,7 @@ BreakBeforeBraces: Attach ColumnLimit: '100' ConstructorInitializerAllOnOneLineOrOnePerLine: 'true' - IncludeBlocks: Regroup + IncludeBlocks: Preserve IndentPPDirectives: AfterHash IndentWidth: '2' NamespaceIndentation: All diff --git a/source/greeter.cpp b/source/greeter.cpp index 11fb4163..def95e2d 100644 --- a/source/greeter.cpp +++ b/source/greeter.cpp @@ -1,6 +1,7 @@ -#include #include +#include + using namespace greeter; Greeter::Greeter(std::string _name) : name(std::move(_name)) {} diff --git a/test/source/greeter.cpp b/test/source/greeter.cpp index 2ff31ba1..9cf6e272 100644 --- a/test/source/greeter.cpp +++ b/test/source/greeter.cpp @@ -1,7 +1,8 @@ -#include #include #include +#include + #include TEST_CASE("Greeter") {