From: bel2125 Date: Fri, 25 Aug 2017 20:46:35 +0000 (+0200) Subject: Remove stdbool.h dependency from unit test X-Git-Tag: 0.12.0~4^2~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2df73ec27e54459c736dd8aa4739d8c8056a27d5;p=check Remove stdbool.h dependency from unit test --- diff --git a/tests/check_list.c b/tests/check_list.c index d95315e..6905e82 100644 --- a/tests/check_list.c +++ b/tests/check_list.c @@ -171,14 +171,14 @@ START_TEST(test_contains) char otherData[] = "other"; char goalData[] = "goal"; - ck_assert_msg (check_list_contains(lp, goalData) == false, + ck_assert_msg (check_list_contains(lp, goalData) == 0, "The goal data should not be in the list yet"); int index; for(index = 0; index < 10; index++) { check_list_add_end (lp, otherData); - ck_assert_msg (check_list_contains(lp, goalData) == false, + ck_assert_msg (check_list_contains(lp, goalData) == 0, "The goal data should not be in the list yet"); }