summaryrefslogtreecommitdiff
path: root/source/test
diff options
context:
space:
mode:
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));
}