From bc2bb77ab205531a676086c8e834cab2c48e06a3 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Wed, 26 Jun 2024 14:33:23 -0400 Subject: Fix tests --- tests/test_strlist.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_strlist.c') diff --git a/tests/test_strlist.c b/tests/test_strlist.c index 723c904..90219bd 100644 --- a/tests/test_strlist.c +++ b/tests/test_strlist.c @@ -144,7 +144,7 @@ void test_strlist_append_file() { right = expected[z]; STASIS_ASSERT(strcmp(left, right) == 0, "file content is different than expected"); } - STASIS_ASSERT(strcmp_array(list->data, expected) == 0, "file contents does not match expected values"); + STASIS_ASSERT(strcmp_array((const char **) list->data, expected) == 0, "file contents does not match expected values"); guard_strlist_free(&list); } } @@ -614,4 +614,4 @@ int main(int argc, char *argv[]) { }; STASIS_TEST_RUN(tests); STASIS_TEST_END_MAIN(); -} \ No newline at end of file +} -- cgit