From 6b911aca700eebcbff4e7369b117731a8f3e2a71 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 26 Mar 2023 03:25:03 +0200 Subject: Uppercase for constants --- source/test/unittests/async_function.test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/test/unittests') 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); } -- cgit v1.2.3