mirror of
https://github.com/throwtheswitch/cexception.git
synced 2026-08-24 12:09:56 +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
|
Try
|
||||||
{
|
{
|
||||||
ExitTry();
|
ExitTry();
|
||||||
|
i = 1;
|
||||||
TEST_FAIL_MESSAGE("Should Have Exited Try Before This");
|
TEST_FAIL_MESSAGE("Should Have Exited Try Before This");
|
||||||
}
|
}
|
||||||
Catch(e)
|
Catch(e)
|
||||||
{
|
{
|
||||||
|
i = 2;
|
||||||
TEST_FAIL_MESSAGE("Should Not Have Been Caught");
|
TEST_FAIL_MESSAGE("Should Not Have Been Caught");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user