summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2012-05-08 09:57:17 -0400
committerKristian Høgsberg <krh@bitplanet.net>2012-05-08 09:57:17 -0400
commitd8dda50d27fe716b524d1bb39b7a516ac65094bb (patch)
treebf8f85cd624b6f2ab0d1a67b0bb676cbee2a3424 /tests
parent550e8f3861b70bd9bb4e4b29fd7247627b5476f3 (diff)
tests: assert that mask is zero is post_dispatch callback
Diffstat (limited to 'tests')
-rw-r--r--tests/event-loop-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/event-loop-test.c b/tests/event-loop-test.c
index b1479f2..c4a3f18 100644
--- a/tests/event-loop-test.c
+++ b/tests/event-loop-test.c
@@ -32,6 +32,7 @@ fd_dispatch(int fd, uint32_t mask, void *data)
{
int *p = data;
+ assert(mask == 0);
*p = 1;
return 0;