From a04ac8a25163d2df18dbff89e142cc12f00aa126 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 19 Jun 2022 19:26:54 +0000 Subject: refactor(get): return pointer to string --- tests/tatl/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tatl/test.c b/tests/tatl/test.c index b02b871..76ff812 100644 --- a/tests/tatl/test.c +++ b/tests/tatl/test.c @@ -38,7 +38,7 @@ TATL_TEST(tatl_context_get_failed_works) { return *tatl_context_get_failed(&context) == 1; } TATL_TEST(tatl_context_get_tag_works) { - return !strcmp(tatl_context_get_tag(&context), "hi"); + return !strcmp(*tatl_context_get_tag(&context), "hi"); } TATL_TEST(tatl_context_get_mute_works) { return *tatl_context_get_mute(&context) == 1; -- cgit v1.2.3