aboutsummaryrefslogtreecommitdiff
path: root/tests/test_str.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2026-06-22 00:20:37 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2026-06-22 11:57:05 -0400
commit1ff5ae0d28c5525c50ce0962dd20725b4e8ad7c2 (patch)
treed0591aa1030f540b202486507ab2714ba3b97959 /tests/test_str.c
parentdbbd423b4a57267ded4fab80bdd54b5eca2cedb3 (diff)
downloadstasis-1ff5ae0d28c5525c50ce0962dd20725b4e8ad7c2.tar.gz
Replace __FUNCTION__ with __func__
Diffstat (limited to 'tests/test_str.c')
-rw-r--r--tests/test_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_str.c b/tests/test_str.c
index 09d8809..3c66386 100644
--- a/tests/test_str.c
+++ b/tests/test_str.c
@@ -16,7 +16,7 @@ void test_to_short_version() {
for (size_t i = 0; i < sizeof(tc) / sizeof(*tc); i++) {
char *result = to_short_version(tc[i].data);
STASIS_ASSERT_FATAL(result != NULL, "should not be NULL");
- //printf("%s[%zu], result: %s, expected: %s\n", __FUNCTION__, i, result, tc[i].expected);
+ printf("%s[%zu], result: %s, expected: %s\n", __func__, i, result, tc[i].expected);
STASIS_ASSERT(strcmp(result, tc[i].expected) == 0, "unexpected result");
guard_free(result);
}