modify variable i, to make test slightly more useful

This commit is contained in:
krithik
2016-03-31 18:34:11 -06:00
parent 49d16ff9fd
commit 32a5dedf9c
+2
View File
@@ -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");
} }