Skip to content

Commit

Permalink
Extend a little the coverage test
Browse files Browse the repository at this point in the history
  • Loading branch information
amadvance committed Feb 25, 2018
1 parent 9b54c1e commit 5ada275
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions check.c
Original file line number Diff line number Diff line change
Expand Up @@ -757,6 +757,9 @@ void test_list(void)

tommy_list_init(&list);

/* sort an empty list */
tommy_list_sort(&list, compare);

if (!tommy_list_empty(&list))
/* LCOV_EXCL_START */
abort();
Expand Down

0 comments on commit 5ada275

Please sign in to comment.