forked from boostorg/core
Add BOOST_TEST_NO_THROW and print expression in BOOST_TEST_THROWS
This commit is contained in:
1 parent
94def8a3a6
commit
3ca745f400
5 files changed
+99
-15
No files matched your search
@@ -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