Commit 3975c354 authored by Marek Vavruša's avatar Marek Vavruša

tests: improved array test

parent 9e97d7f2
......@@ -44,7 +44,7 @@ static void test_array(void **state)
/* Delete elements. */
array_del(arr, 0);
for (size_t i = arr.len; --i;) {
while (arr.len > 0) {
array_pop(arr);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment