From 03124601d8fa3ef4f8a6aee32e3c83ce311b0341 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Thu, 24 Oct 2013 21:18:27 +0200 Subject: [PATCH] Test failing to find a hash node --- test/test_htable.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_htable.c b/test/test_htable.c index 925d273..dc3e70b 100644 --- a/test/test_htable.c +++ b/test/test_htable.c @@ -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);