mirror of
https://github.com/boostorg/throw_exception.git
synced 2025-07-24 01:27:38 +02:00
Update throw_exception_test3.cpp
This commit is contained in:
@ -44,7 +44,6 @@ int main()
|
|||||||
boost::exception_ptr p = boost::current_exception();
|
boost::exception_ptr p = boost::current_exception();
|
||||||
|
|
||||||
BOOST_TEST_THROWS( boost::rethrow_exception( p ), my_exception );
|
BOOST_TEST_THROWS( boost::rethrow_exception( p ), my_exception );
|
||||||
BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
@ -80,7 +79,6 @@ int main()
|
|||||||
boost::exception_ptr p = boost::current_exception();
|
boost::exception_ptr p = boost::current_exception();
|
||||||
|
|
||||||
BOOST_TEST_THROWS( boost::rethrow_exception( p ), my_exception );
|
BOOST_TEST_THROWS( boost::rethrow_exception( p ), my_exception );
|
||||||
BOOST_TEST_THROWS( boost::rethrow_exception( p ), boost::exception );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user