aboutsummaryrefslogtreecommitdiff
path: root/src/test/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/main.cpp')
-rw-r--r--src/test/main.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/test/main.cpp b/src/test/main.cpp
index 19a8d6e..54f74fd 100644
--- a/src/test/main.cpp
+++ b/src/test/main.cpp
@@ -1,6 +1,5 @@
-#include <crepe/api/Config.h>
-
#include <gtest/gtest.h>
+#include <crepe/api/Config.h>
using namespace crepe;
using namespace testing;
@@ -11,7 +10,11 @@ public:
// This function is called before each test
void OnTestStart(const TestInfo &) override {
- cfg.log.level = Log::Level::WARNING;
+ cfg = {
+ .log = {
+ .level = Log::Level::WARNING,
+ },
+ };
}
};