index 704ad067fc52d9fba04a8ea5bbe901a3013583c6..b69573c45fde0afd0b90ab5db4402f225eb9ac00 100644 (file)
#include "core/store.h"
#include "testutils.h"
-#include <assert.h>
-
#include <check.h>
#include <stdlib.h>
sdb_strbuf_clear(buf);
f = sdb_store_json_formatter(buf,
store_tojson_data[_i].type, SDB_WANT_ARRAY);
- assert(f);
+ ck_assert(f != NULL);
status = sdb_store_scan(store_tojson_data[_i].type,
/* m = */ NULL, filter, store_tojson_data[_i].f, f);