diff options
author | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-13 15:22:12 +0100 |
---|---|---|
committer | Danny van Kooten <dannyvankooten@users.noreply.github.com> | 2020-03-13 15:22:12 +0100 |
commit | 8f48266d0b428fb627a67092105091b29a0ce038 (patch) | |
tree | 5149b3342e030a7e1f38b4f5cb550288acb24c1f /tests | |
parent | 679ab3947763cba53cd4d77743e0a497148b4bc5 (diff) | |
download | unja-8f48266d0b428fb627a67092105091b29a0ce038.tar.gz unja-8f48266d0b428fb627a67092105091b29a0ce038.zip |
maybe get ready fur custom parsing... still wrapping my head around the set-up
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_hashmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_hashmap.c b/tests/test_hashmap.c index b9e1cfd..14ec552 100644 --- a/tests/test_hashmap.c +++ b/tests/test_hashmap.c @@ -12,7 +12,6 @@ TEST(hashmap) { hashmap_free(hm); } - TEST(dot_notation) { struct hashmap *user = hashmap_new(); hashmap_insert(user, "name", "Danny"); @@ -21,6 +20,7 @@ TEST(dot_notation) { assert(hashmap_resolve(hm, "user") == user, "expected user hashmap, got something else"); char *value = (char *) hashmap_resolve(hm, "user.name"); assert_str(value, "Danny"); + hashmap_free(user); hashmap_free(hm); } |