test-hashmap: fix an assert

CID#1299016
This commit is contained in:
Thomas Hindoe Paaboel Andersen
2015-05-19 06:35:44 +02:00
parent e88d8021ba
commit b669934fae
+1 -1
View File
@@ -682,7 +682,7 @@ static void test_hashmap_get2(void) {
r = hashmap_get2(m, key_orig, &key_copy);
assert_se(streq(r, val));
assert_se(key_orig != key_copy);
assert_se(streq(key_orig, key_orig));
assert_se(streq(key_orig, key_copy));
r = hashmap_get2(m, "no such key", NULL);
assert_se(r == NULL);