From ee0a2e7e1965200ec5968ec310bee429db819dde Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Sun, 3 Sep 2023 22:20:31 +0200 Subject: Remove const --- source/tests/test_too_many_tests.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/tests/test_too_many_tests.c (limited to 'source/tests/test_too_many_tests.c') diff --git a/source/tests/test_too_many_tests.c b/source/tests/test_too_many_tests.c new file mode 100644 index 0000000..d4842e4 --- /dev/null +++ b/source/tests/test_too_many_tests.c @@ -0,0 +1,14 @@ +#include "../kit_test/test.h" + +void bar(int index, kit_test_report_fn report) { } + +int main(int argc, char **argv) { + int i; + for (i = 0; i <= KIT_TESTS_SIZE_LIMIT; i++) + test_register("foo", __FILE__, bar); + + if (run_tests(argc, argv) != 1) + return 1; + + return 0; +} -- cgit v1.2.3