forked from boostorg/regex
Update TR1 library to cope with GCC-4.3 in C++0x mode, and in TR1 mode.
Updated regex concepts to match the TR1. Added "tricky" cmath_test to test for the functions Boost doesn't implement. [SVN r48413]
This commit is contained in:
@ -46,7 +46,7 @@ int test_main( int , char* [] )
|
||||
|
||||
bad_text.assign((std::string::size_type)500000, 'a');
|
||||
e2.assign("aaa*@");
|
||||
BOOST_CHECK_THROW(0 == boost::regex_search(bad_text, what, e2), std::runtime_error);
|
||||
BOOST_CHECK_THROW(boost::regex_search(bad_text, what, e2), std::runtime_error);
|
||||
good_text.assign((std::string::size_type)5000, 'a');
|
||||
BOOST_CHECK(0 == boost::regex_search(good_text, what, e2));
|
||||
|
||||
@ -54,3 +54,4 @@ int test_main( int , char* [] )
|
||||
}
|
||||
|
||||
#include <boost/test/included/test_exec_monitor.hpp>
|
||||
|
||||
|
Reference in New Issue
Block a user