summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
Diffstat (limited to 'source/test')
-rw-r--r--source/test/unittests/async_function.test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test/unittests/async_function.test.c b/source/test/unittests/async_function.test.c
index 6d1f8d9..5adc0e7 100644
--- a/source/test/unittests/async_function.test.c
+++ b/source/test/unittests/async_function.test.c
@@ -71,13 +71,13 @@ STATIC_CORO(int, test_await_multiple,
CORO_END
void test_execute_lazy(void *_, void *coro, int request) {
- if (request == af_request_resume)
+ if (request == AF_REQUEST_RESUME)
return;
AF_EXECUTE(coro);
}
void test_execute_immediate(void *_, void *coro, int request) {
- if (request == af_request_join)
+ if (request == AF_REQUEST_JOIN)
return;
AF_EXECUTE(coro);
}