Skip to content

Commit aff63c7

Browse files
tests: run AnyOf tests with MSVC
1 parent 44d6934 commit aff63c7

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/include/crhandle/taskutils.hpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ struct AnyOfFn
109109
co_await stdcr::suspend_always{};
110110
}
111111

112+
for (auto & h : tasks)
113+
h = {};
114+
112115
co_return *ret;
113116
}
114117
};

test/CMakeLists.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,4 @@ target_link_libraries(crhandletests
2525

2626
include(GoogleTest)
2727

28-
if(MSVC)
29-
gtest_discover_tests(crhandletests
30-
TEST_FILTER -*anyof*)
31-
else()
32-
gtest_discover_tests(crhandletests)
33-
endif()
28+
gtest_discover_tests(crhandletests)

0 commit comments

Comments
 (0)