From d9b3ce2e4ba73134b491648b8ad6a8bcd9461158 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Tue, 30 Aug 2022 09:46:14 +0400 Subject: [async_function] Fix coroutine name --- source/test/unittests/async_function.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/test/unittests') diff --git a/source/test/unittests/async_function.test.c b/source/test/unittests/async_function.test.c index 5816bfc..6e1bc69 100644 --- a/source/test/unittests/async_function.test.c +++ b/source/test/unittests/async_function.test.c @@ -93,7 +93,7 @@ TEST("coroutine init") { TEST("coroutine init explicit") { AF_TYPE(test_foo) promise; - AF_INIT_EXPLICIT(promise, sizeof promise, AF_NAME(test_foo)); + AF_INIT_EXPLICIT(promise, sizeof promise, test_foo); REQUIRE(!AF_FINISHED(promise)); } -- cgit v1.2.3