chore(test): clean up breaks in SEvtDispatch test

This commit is contained in:
fallenoak 2025-11-20 22:10:08 -06:00
parent aadb85d627
commit cf433ff1f3

View file

@ -259,6 +259,9 @@ TEST_CASE("SEvtDispatch", "[event]") {
CHECK(SEvtDispatch(7357, 1, 0, &data2) == 1); CHECK(SEvtDispatch(7357, 1, 0, &data2) == 1);
CHECK(test.NumCalls() == 1); CHECK(test.NumCalls() == 1);
// CLEANUP - SEvtDestroy doesn't erase registered breaks, avoid polluting other tests
CHECK(SEvtDispatch(7357, 1, 0, &data) == 0);
} }
SECTION("finds the correct handler among many") { SECTION("finds the correct handler among many") {