diff options
Diffstat (limited to 'source/test/programs/too_many_tests.c')
-rw-r--r-- | source/test/programs/too_many_tests.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/test/programs/too_many_tests.c b/source/test/programs/too_many_tests.c index bc7b543..ac1cbf7 100644 --- a/source/test/programs/too_many_tests.c +++ b/source/test/programs/too_many_tests.c @@ -3,7 +3,8 @@ void bar(int index, kit_test_report_fn report) { } int main(int argc, char **argv) { - for (int i = 0; i <= KIT_TESTS_SIZE_LIMIT; i++) + int i; + for (i = 0; i <= KIT_TESTS_SIZE_LIMIT; i++) test_register("foo", __FILE__, bar); if (run_tests(argc, argv) != 1) |