Introduce CO_ASSERT macros to folly::coro
Summary: This change introduces CO_* versions of the main GTest ASSERT_* macros that we use in test validation. These are needed as calling ASSERT_* in a coroutine does not work. ASSERT_* embeds a `return` statement, while coroutines need a `co_return` statement. Reviewed By: ispeters Differential Revision: D25369376 fbshipit-source-id: dbd95e8c21e28581f93202af4d6fea9245238f5d
Showing
Please register or sign in to comment