Ticket #5249: exception_test.patch
File exception_test.patch, 941 bytes (added by , 12 years ago) |
---|
-
libs/exception/test/cloning_test.cpp
180 180 catch( 181 181 T & x ) 182 182 { 183 BOOST_TEST(std::string("what")==x.what()); 183 BOOST_TEST(std::string(x.what()).find("what") != 184 std::string::npos); 184 185 boost::exception_ptr p = boost::current_exception(); 185 186 BOOST_TEST(!(p==boost::exception_ptr())); 186 187 BOOST_TEST(p!=boost::exception_ptr()); … … 193 194 catch( 194 195 T & x ) 195 196 { 196 BOOST_TEST(std::string("what")==x.what()); 197 BOOST_TEST(std::string(x.what()).find("what") != 198 std::string::npos); 197 199 } 198 200 catch( 199 201 ... )