aboutsummaryrefslogtreecommitdiff
path: root/tests/libutil
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-07 01:14:13 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2021-03-07 01:18:03 +0100
commit257a5737d708b706be29526050f61ded9793d0ab (patch)
treeb7b5789e63a85187c0cbffb965c9c7233bb26249 /tests/libutil
parent5cc1d55d769e278f51eeb057b08d04afd6bb0c44 (diff)
Rewrite the str_table to internally use the more opimized hash_table
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
Diffstat (limited to 'tests/libutil')
-rw-r--r--tests/libutil/str_table.c2
1 files changed, 1 insertions, 1 deletions
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);