Browse Source

test: forgot to change a variable.

Fixes Bugzilla #3787.
Ryan C. Gordon 8 years ago
parent
commit
846a9ab95e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/testautomation_sdltest.c

+ 1 - 1
test/testautomation_sdltest.c

@@ -49,7 +49,7 @@ sdltest_generateRunSeed(void *arg)
   }
   }
 
 
   /* Negative cases */
   /* Negative cases */
-  for (j = -2; j <= 0; i++) {   
+  for (j = -2; j <= 0; j++) {
      result = SDLTest_GenerateRunSeed((const int)j);
      result = SDLTest_GenerateRunSeed((const int)j);
      SDLTest_AssertPass("Call to SDLTest_GenerateRunSeed()");
      SDLTest_AssertPass("Call to SDLTest_GenerateRunSeed()");
      SDLTest_AssertCheck(result == NULL, "Verify returned value is not NULL");
      SDLTest_AssertCheck(result == NULL, "Verify returned value is not NULL");