summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-15 07:08:35 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-15 07:08:35 +0400
commitcfbefecf8f033c838aa7f325b400b2b949f81838 (patch)
tree9235ebf1f6b97ba51f9f257a5bc249390139c4fd /source/test
parent90259625e45c3e4cb26af3c30fffdb182d08dba1 (diff)
downloadkit-cfbefecf8f033c838aa7f325b400b2b949f81838.zip
explicit coroutine init with size
Diffstat (limited to 'source/test')
-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 f4571a0..1ff3031 100644
--- a/source/test/unittests/async_function.test.c
+++ b/source/test/unittests/async_function.test.c
@@ -86,7 +86,7 @@ TEST("coroutine init") {
TEST("coroutine init explicit") {
AF_TYPE(test_foo) promise;
- AF_INIT_EXPLICIT(promise, AF_NAME(test_foo));
+ AF_INIT_EXPLICIT(promise, sizeof promise, AF_NAME(test_foo));
REQUIRE(!AF_FINISHED(promise));
}