Test failing to find a hash node

This commit is contained in:
Nils O. Selåsdal
2013-10-24 21:18:27 +02:00
parent 49503804dd
commit 03124601d8
+1
View File
@@ -63,6 +63,7 @@ START_TEST (test_htable1)
fail_if(my_find(&table, "Three",hash_str("Three")) != &str[2]);
fail_if(my_find(&table, "Four", hash_str("Four")) != &str[3]);
fail_if(my_find(&table, "Five", hash_str("Five")) != &str[4]);
fail_if(my_find(&table, "NotHere", hash_str("NotHere")) != NULL);
uc_htable_destroy(&table);