diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-30 16:41:22 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-30 16:41:22 +0100 |
commit | 2d5721820063031b65d64b1b2b1b4797b71935af (patch) | |
tree | 405a52da123cda5c2b6845328da8bf6d0621274b /src/test/EventTest.cpp | |
parent | 7a07c56d572a6f30d0aa611bd566197bc04c3b33 (diff) |
`make format`
Diffstat (limited to 'src/test/EventTest.cpp')
-rw-r--r-- | src/test/EventTest.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/test/EventTest.cpp b/src/test/EventTest.cpp index 350dd07..dccd554 100644 --- a/src/test/EventTest.cpp +++ b/src/test/EventTest.cpp @@ -2,9 +2,9 @@ #include <gtest/gtest.h> #include <crepe/api/Event.h> -#include <crepe/manager/EventManager.h> #include <crepe/api/IKeyListener.h> #include <crepe/api/IMouseListener.h> +#include <crepe/manager/EventManager.h> using namespace std; using namespace std::chrono_literals; @@ -37,9 +37,7 @@ public: }; TEST_F(EventManagerTest, EventSubscription) { - EventHandler<KeyPressEvent> key_handler = [](const KeyPressEvent & e) { - return true; - }; + EventHandler<KeyPressEvent> key_handler = [](const KeyPressEvent & e) { return true; }; // Subscribe to KeyPressEvent EventManager::get_instance().subscribe<KeyPressEvent>(key_handler, 1); |