X-Git-Url: https://git.tokkee.org/?p=sysdb.git;a=blobdiff_plain;f=t%2Funit%2Fcore%2Fstore_json_test.c;h=b69573c45fde0afd0b90ab5db4402f225eb9ac00;hp=704ad067fc52d9fba04a8ea5bbe901a3013583c6;hb=9097c9c3259b2943dc0088b250ec871172025303;hpb=1d64c3e4ee0184ba0639b46512286c6cca5dcd4d diff --git a/t/unit/core/store_json_test.c b/t/unit/core/store_json_test.c index 704ad06..b69573c 100644 --- a/t/unit/core/store_json_test.c +++ b/t/unit/core/store_json_test.c @@ -32,8 +32,6 @@ #include "core/store.h" #include "testutils.h" -#include - #include #include @@ -466,7 +464,7 @@ START_TEST(test_store_tojson) 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);