Use streams from lightweight test

This commit is contained in:
Daniel James committed 2017-05-10 19:02:47 +01:00
1 parent 3c42138e45
commit 76e7322262
22 files changed
+163 -172

No files matched your search

+2 -1
View File
@@ -36,7 +36,8 @@ bool throwing_test_exception = false;
void test_throw(char const* name)
{
if (throwing_test_exception) {
std::cerr << "Throw exception in: " << name << std::endl;
BOOST_LIGHTWEIGHT_TEST_OSTREAM << "Throw exception in: " << name
<< std::endl;
throw test_exception();
}
}