summaryrefslogtreecommitdiff
path: root/source/test/unittests/async_function.test.c
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-30 09:46:14 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-30 09:46:14 +0400
commitd9b3ce2e4ba73134b491648b8ad6a8bcd9461158 (patch)
treec4771dd8bd465473cf74adb7e50fc370840a5f04 /source/test/unittests/async_function.test.c
parent95a1066b09af815ebf878c185ce0fde6f41330f2 (diff)
downloadkit-d9b3ce2e4ba73134b491648b8ad6a8bcd9461158.zip
[async_function] Fix coroutine name
Diffstat (limited to 'source/test/unittests/async_function.test.c')
-rw-r--r--source/test/unittests/async_function.test.c2
1 files changed, 1 insertions, 1 deletions
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));
}