mirror of
https://github.com/boostorg/exception.git
synced 2025-07-24 01:27:21 +02:00
Incorrect check in cloning_test fixed, and workaround for Metrowerks.
[SVN r69619]
This commit is contained in:
@ -180,7 +180,7 @@ test_std_exception_what()
|
||||
catch(
|
||||
T & x )
|
||||
{
|
||||
BOOST_TEST(std::string("what")==x.what());
|
||||
BOOST_TEST(std::string(x.what()).find("what")!=std::string::npos);
|
||||
boost::exception_ptr p = boost::current_exception();
|
||||
BOOST_TEST(!(p==boost::exception_ptr()));
|
||||
BOOST_TEST(p!=boost::exception_ptr());
|
||||
@ -193,7 +193,7 @@ test_std_exception_what()
|
||||
catch(
|
||||
T & x )
|
||||
{
|
||||
BOOST_TEST(std::string("what")==x.what());
|
||||
BOOST_TEST(std::string(x.what()).find("what")!=std::string::npos);
|
||||
}
|
||||
catch(
|
||||
... )
|
||||
|
Reference in New Issue
Block a user