From 257a5737d708b706be29526050f61ded9793d0ab Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Sun, 7 Mar 2021 01:14:13 +0100 Subject: Rewrite the str_table to internally use the more opimized hash_table Signed-off-by: David Oberhollenzer --- tests/libutil/str_table.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/libutil') diff --git a/tests/libutil/str_table.c b/tests/libutil/str_table.c index 83526af..9baba27 100644 --- a/tests/libutil/str_table.c +++ b/tests/libutil/str_table.c @@ -45,7 +45,7 @@ int main(void) if (read_strings()) return EXIT_FAILURE; - TEST_ASSERT(str_table_init(&table, 64) == 0); + TEST_ASSERT(str_table_init(&table) == 0); for (i = 0; i < 1000; ++i) { TEST_ASSERT(str_table_get_index(&table, strings[i], &idx) == 0); -- cgit v1.2.3