Add BOOST_TEST_NO_THROW and print expression in BOOST_TEST_THROWS

This commit is contained in:
Glen Fernandes committed 2020-05-01 14:34:02 -04:00
1 parent 94def8a3a6
commit 3ca745f400
5 files changed
+99 -15

No files matched your search

+4
View File
@@ -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();
}