diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/dict.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/dict.c b/test/dict.c index 0c2e93e..9ba05fd 100644 --- a/test/dict.c +++ b/test/dict.c @@ -18,8 +18,7 @@ int main(int argc, char **argv) UNUSED(argc); UNUSED(argv); - dict = hubbub_dict_create(myrealloc, NULL); - assert(dict != NULL); + assert(hubbub_dict_create(myrealloc, NULL, &dict) == HUBBUB_OK); assert(hubbub_dict_insert(dict, "Hello", (const void *) 123) == HUBBUB_OK); |