diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-08 09:57:17 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2012-05-08 09:57:17 -0400 |
commit | d8dda50d27fe716b524d1bb39b7a516ac65094bb (patch) | |
tree | bf8f85cd624b6f2ab0d1a67b0bb676cbee2a3424 /tests | |
parent | 550e8f3861b70bd9bb4e4b29fd7247627b5476f3 (diff) |
tests: assert that mask is zero is post_dispatch callback
Diffstat (limited to 'tests')
-rw-r--r-- | tests/event-loop-test.c | 1 |
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; |