diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-07 14:19:26 +0100 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-12-07 14:19:26 +0100 |
commit | f3009ab8f0785a54d3fd83c0d758c8ebd901adda (patch) | |
tree | 6e9df9ef2311c28ee590c30e3a1f00018105bdd9 /src/test/ScriptECSTest.cpp | |
parent | 90c6bf03e59fdec64f850310bcbff45ae86f69e3 (diff) |
`make format`
Diffstat (limited to 'src/test/ScriptECSTest.cpp')
-rw-r--r-- | src/test/ScriptECSTest.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/test/ScriptECSTest.cpp b/src/test/ScriptECSTest.cpp index 4477e55..1ec33ba 100644 --- a/src/test/ScriptECSTest.cpp +++ b/src/test/ScriptECSTest.cpp @@ -4,8 +4,8 @@ #include <crepe/api/BehaviorScript.h> #include <crepe/api/GameObject.h> -#include <crepe/api/Script.h> #include <crepe/api/Metadata.h> +#include <crepe/api/Script.h> #include <crepe/manager/ComponentManager.h> #include <crepe/system/ScriptSystem.h> @@ -32,8 +32,7 @@ TEST_F(ScriptECSTest, GetOwnComponent) { TEST_F(ScriptECSTest, GetOwnComponents) { const unsigned COUNT = 4; - for (unsigned i = 0; i < COUNT; i++) - entity.add_component<TestComponent>(); + for (unsigned i = 0; i < COUNT; i++) entity.add_component<TestComponent>(); MyScript & script = this->script; RefVector<TestComponent> components = script.get_components<TestComponent>(); |