add EXPECT_THROW_RE() and EXPECT_THROW_ERRNO() test macros
Summary: Add EXPECT_THROW_RE() and EXPECT_THROW_ERRNO() macros to folly/test/TestUtils.h These allow more precise checks than the basic EXPECT_THROW() macro provided as part of gtest. These macros are being moved into folly from Facebook's eden repository (https://github.com/facebookexperimental/eden) This will allow us to use them in folly tests and in other projects that depend on folly. Reviewed By: yfeldblum Differential Revision: D6301760 fbshipit-source-id: 1f434fb5bc9b7859f763171264fb0b2e1b4bda62
Showing
Please register or sign in to comment