mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-06-05 21:24:36 +00:00
modify variable i, to make test slightly more useful
This commit is contained in:
@@ -349,10 +349,12 @@ void test_AbilityToExitTryWithoutThrowingAnError(void)
|
||||
Try
|
||||
{
|
||||
ExitTry();
|
||||
i = 1;
|
||||
TEST_FAIL_MESSAGE("Should Have Exited Try Before This");
|
||||
}
|
||||
Catch(e)
|
||||
{
|
||||
i = 2;
|
||||
TEST_FAIL_MESSAGE("Should Not Have Been Caught");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user