Skip to content

Commit

Permalink
Fix assert comparison error
Browse files Browse the repository at this point in the history
  • Loading branch information
asweeney86 committed Dec 21, 2017
1 parent f33e816 commit 673ab67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/check_an_allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ test_allocator(const struct an_allocator *a)

data = AN_REALLOC(a, data, 10, sysconf(_SC_PAGESIZE) * 4);
ck_assert(data != NULL);
ck_assert(malloc_usable_size(data) > original_usable_size > 0);
ck_assert(malloc_usable_size(data) > original_usable_size);

AN_FREE(a, data);

Expand Down

0 comments on commit 673ab67

Please sign in to comment.