tests: Clear events after tests ran
This commit is contained in:
parent
6b86ef3015
commit
2fd370f4ae
@ -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;
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user