From 2df73ec27e54459c736dd8aa4739d8c8056a27d5 Mon Sep 17 00:00:00 2001 From: bel2125 Date: Fri, 25 Aug 2017 22:46:35 +0200 Subject: [PATCH] Remove stdbool.h dependency from unit test --- tests/check_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } -- 2.50.1