aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-06-19 19:26:54 +0000
committerFuwn <[email protected]>2022-06-19 19:26:54 +0000
commita04ac8a25163d2df18dbff89e142cc12f00aa126 (patch)
treee4496130497b19984314480d9c9e4fc7b82b92f1 /tests
parentfix(set): free previous tag on set (diff)
downloadtatl-a04ac8a25163d2df18dbff89e142cc12f00aa126.tar.xz
tatl-a04ac8a25163d2df18dbff89e142cc12f00aa126.zip
refactor(get): return pointer to string
Diffstat (limited to 'tests')
-rw-r--r--tests/tatl/test.c2
1 files changed, 1 insertions, 1 deletions
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;