Improve coverage of the test suite.

This commit is contained in:
Patrick Pelissier committed 2023-04-05 23:07:52 +02:00
1 parent 9d77448a25
commit f858aa2cb5
4 files changed
+159 -6

No files matched your search

+1 -6
View File
@@ -120,12 +120,7 @@ static void test(void)
assert (ilist_tname_size(list) == 0);
assert (ilist_tname_empty_p(list));
for M_EACH(item, list, ILIST_OPLIST(ilist_tname)) {
(void)item;
if (M_UNLIKELY_NOMEM(1)) {
assert(false);
}
}
for M_EACH(item, list, ILIST_OPLIST(ilist_tname)) ( (void)item, assert(false) );
ilist_tname_push_back (list, &x3);
assert (ilist_tname_size (list) == 1);