mirror of
https://github.com/boostorg/core.git
synced 2025-11-29 05:40:14 +01:00
Add BOOST_TEST_NO_THROW and print expression in BOOST_TEST_THROWS
This commit is contained in:
@@ -108,5 +108,9 @@ int main()
|
||||
BOOST_TEST_THROWS( f(true), X );
|
||||
BOOST_TEST_THROWS( f(false), int );
|
||||
|
||||
// BOOST_TEST_NO_THROW
|
||||
|
||||
BOOST_TEST_NO_THROW(++y);
|
||||
|
||||
return boost::report_errors();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user