diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2023-04-08 02:24:20 +0200 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2023-04-08 02:24:20 +0200 |
commit | e00840dd0a5e3ce22468b0b46cc8a36e3b0e80f9 (patch) | |
tree | 992cd761f4e3d20985dde1b98baad9425e35279c /source/test/unittests | |
parent | d747d4b6c57cc0ac42e0da370f03704d8e5927f9 (diff) | |
download | kit-e00840dd0a5e3ce22468b0b46cc8a36e3b0e80f9.zip |
Add coroutine id
Diffstat (limited to 'source/test/unittests')
-rw-r--r-- | source/test/unittests/async_function.test.c | 6 |
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); |