summaryrefslogtreecommitdiff
path: root/source/test/unittests/async_function.test.c
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2023-04-08 02:24:20 +0200
committerMitya Selivanov <automainint@guattari.tech>2023-04-08 02:24:20 +0200
commite00840dd0a5e3ce22468b0b46cc8a36e3b0e80f9 (patch)
tree992cd761f4e3d20985dde1b98baad9425e35279c /source/test/unittests/async_function.test.c
parentd747d4b6c57cc0ac42e0da370f03704d8e5927f9 (diff)
downloadkit-e00840dd0a5e3ce22468b0b46cc8a36e3b0e80f9.zip
Add coroutine id
Diffstat (limited to 'source/test/unittests/async_function.test.c')
-rw-r--r--source/test/unittests/async_function.test.c6
1 files changed, 0 insertions, 6 deletions
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);