mirror of
https://github.com/thunderbrewhq/squall.git
synced 2026-02-04 00:49:08 +00:00
chore(test): clean up breaks in SEvtDispatch test
This commit is contained in:
parent
aadb85d627
commit
cf433ff1f3
1 changed files with 3 additions and 0 deletions
|
|
@ -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") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue