Fixes issue #164

- Removed spurious (re-)throw when catching unexpected exception
This commit is contained in:
Phil Nash 2013-04-20 21:04:32 +01:00
parent b3acf45d70
commit 2666c96d4e
4 changed files with 91 additions and 46 deletions

View file

@ -66,6 +66,12 @@ TEST_CASE( "./failing/exceptions/implicit/3", "When unchecked exceptions are thr
}
}
TEST_CASE_NORETURN( "./failing/exceptions/implicit/4", "When unchecked exceptions are thrown they are always failures" )
{
CHECK( thisThrows() == 0 );
/*NOTREACHED*/
}
TEST_CASE( "./succeeding/exceptions/implicit", "When unchecked exceptions are thrown, but caught, they do not affect the test" )
{
try