diff options
author | Mitya Selivanov <automainint@guattari.tech> | 2022-12-29 07:51:16 +0100 |
---|---|---|
committer | Mitya Selivanov <automainint@guattari.tech> | 2022-12-29 07:51:16 +0100 |
commit | 7e6b36bc2d332a3cb66b83116a393ac4728236d5 (patch) | |
tree | 4e7255b1237564f9682cb8e1b84a5bc0c0a4fbef /source/test/programs/too_many_assertions.c | |
parent | f9df8ec356b1e18bf46c9a35bec78ed025107376 (diff) | |
download | kit-7e6b36bc2d332a3cb66b83116a393ac4728236d5.zip |
Improve C89/90 compat
Diffstat (limited to 'source/test/programs/too_many_assertions.c')
-rw-r--r-- | source/test/programs/too_many_assertions.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/test/programs/too_many_assertions.c b/source/test/programs/too_many_assertions.c index 846970f..06b440b 100644 --- a/source/test/programs/too_many_assertions.c +++ b/source/test/programs/too_many_assertions.c @@ -1,7 +1,8 @@ #include "../../kit_test/test.h" TEST("foo") { - for (int i = 0; i <= KIT_TEST_ASSERTIONS_LIMIT; i++) REQUIRE(1); + int i; + for (i = 0; i <= KIT_TEST_ASSERTIONS_LIMIT; i++) REQUIRE(1); } int main(int argc, char **argv) { |