We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62800aa commit 9a1e2f0Copy full SHA for 9a1e2f0
.clang-format
@@ -78,14 +78,17 @@ MaxEmptyLinesToKeep: 1
78
# Sorting
79
IncludeBlocks: Regroup
80
IncludeCategories:
81
- # "Header.h", "Header.hpp" etc.
+ # Test headers
82
- Priority: 1
83
+ Regex: '<(catch2|gtest).*>'
84
+ # "Header.h", "Header.hpp" etc.
85
+ - Priority: 2
86
Regex: '^\"(.+)\"$'
87
# Core Library
- - Priority: 2
88
+ - Priority: 3
89
Regex: '^<Core\/'
90
# C++ standard headers
- - Priority: 3
91
+ - Priority: 4
92
Regex: '<[[:alnum:]_-]+>'
93
SortIncludes: true
94
SortUsingDeclarations: true
library/test/Tests.cpp
@@ -1,7 +1,7 @@
1
-#include <Core/Lib.hpp>
2
-
3
#include <catch2/catch_test_macros.hpp>
4
+#include <Core/Lib.hpp>
+
5
TEST_CASE("some_fun")
6
{
7
Lib lib;
0 commit comments