1
0
mirror of synced 2024-11-28 01:20:51 +01:00

tests: Clear events after tests ran

This commit is contained in:
WerWolv 2024-01-30 21:24:26 +01:00
parent 6b86ef3015
commit 2fd370f4ae

View File

@ -1,6 +1,9 @@
#include <hex.hpp> #include <hex.hpp>
#include <hex/api/event_manager.hpp>
#include <hex/helpers/utils.hpp> #include <hex/helpers/utils.hpp>
#include <hex/helpers/logger.hpp> #include <hex/helpers/logger.hpp>
#include <hex/test/tests.hpp> #include <hex/test/tests.hpp>
#include <cstdlib> #include <cstdlib>
@ -45,5 +48,7 @@ int main(int argc, char **argv) {
else else
hex::log::info("Failed!"); hex::log::info("Failed!");
hex::EventManager::clear();
return result; return result;
} }