summaryrefslogtreecommitdiff
path: root/source/test/unittests/async_function.test.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-03-26 03:25:03 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-03-26 03:25:03 +0200
commit6b911aca700eebcbff4e7369b117731a8f3e2a71 (patch)
treed9d1d6e467ade6d41dbe2c22a2b0be57af55240c /source/test/unittests/async_function.test.c
parentb5b0935814832a19d856bd2a90f395681f408213 (diff)
downloadkit-6b911aca700eebcbff4e7369b117731a8f3e2a71.zip
Uppercase for constants
Diffstat (limited to 'source/test/unittests/async_function.test.c')
-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);
}