diff options
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/array.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/array.c b/tests/array.c index 35b36e7..fce9d5f 100644 --- a/tests/array.c +++ b/tests/array.c @@ -335,6 +335,7 @@ static bool array_test_foreach(void) u32 iter1; al_array_foreach_rev(ints, i, iter1) { + AL_TEST_LT(i, ints.count, u32); AL_TEST_EQ(iter1, i, u32); } @@ -345,6 +346,7 @@ static bool array_test_foreach(void) u32 iter2; al_array_foreach_rev(ints, i, iter2) { + AL_TEST_LT(i, ints.count, u32); AL_TEST_EQ(iter2, i, u32); al_array_remove_at(ints, i); } |