index 1955528e919a8c753b1c1c99842a15296890b716..d421e64df3dd90136776a9b84925ccccf689ffab 100644 (file)
--- a/t/unit/core/data_test.c
+++ b/t/unit/core/data_test.c
#include "core/data.h"
#include "testutils.h"
-#include <assert.h>
#include <check.h>
static regex_t empty_re;
check = sdb_data_parse(".", SDB_TYPE_REGEX, &d2);
fail_unless(check == 0,
"INTERNAL ERROR: Failed to parse regex '.'");
- assert(d2.type == SDB_TYPE_REGEX);
+ ck_assert(d2.type == SDB_TYPE_REGEX);
check = sdb_data_copy(&d1, &d2);
fail_unless(!check, "sdb_data_copy() = %i; expected: 0", check);
fail_unless(d1.type == d2.type,