From e00840dd0a5e3ce22468b0b46cc8a36e3b0e80f9 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sat, 8 Apr 2023 02:24:20 +0200 Subject: Add coroutine id --- source/test/unittests/async_function.test.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source/test') diff --git a/source/test/unittests/async_function.test.c b/source/test/unittests/async_function.test.c index a10dbff..32aff4e 100644 --- a/source/test/unittests/async_function.test.c +++ b/source/test/unittests/async_function.test.c @@ -59,12 +59,6 @@ TEST("coroutine init") { REQUIRE(!AF_FINISHED(promise)); } -TEST("coroutine init explicit") { - AF_TYPE(test_foo) promise; - AF_INIT_EXPLICIT(promise, sizeof promise, test_foo); - REQUIRE(!AF_FINISHED(promise)); -} - TEST("coroutine init with value") { AF_TYPE(test_foo) promise; AF_INIT(promise, test_foo, .return_value = 42); -- cgit v1.2.3