Skip to content

Commit

Permalink
更新 test3 测试用例
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackarain committed Oct 3, 2024
1 parent fec6417 commit 95a7aa2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/test3/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

int main(int argc, char **argv)
{
using CallbackAwaiterType0 = CallbackAwaiter<void, decltype([](auto h) {}) >;
using ExecutorAwaiterType0 = ExecutorAwaiter<void, decltype([](auto h) {}) > ;
using CallbackAwaiterType0 = ucoro::CallbackAwaiter<void, decltype([](auto h) {}) >;
using ExecutorAwaiterType0 = ucoro::ExecutorAwaiter<void, decltype([](auto h) {}) > ;

using CallbackAwaiterType1 = CallbackAwaiter<int, decltype([](auto h) {}) > ;
using ExecutorAwaiterType1 = ExecutorAwaiter<int, decltype([](auto h) {}) > ;
using CallbackAwaiterType1 = ucoro::CallbackAwaiter<int, decltype([](auto h) {}) > ;
using ExecutorAwaiterType1 = ucoro::ExecutorAwaiter<int, decltype([](auto h) {}) > ;

static_assert(ucoro::detail::is_awaiter_v < CallbackAwaiterType0 >, "not a coroutine");
static_assert(ucoro::detail::is_awaiter_v < ExecutorAwaiterType0 >, "not a coroutine");
Expand Down

0 comments on commit 95a7aa2

Please sign in to comment.