From 1ff5ae0d28c5525c50ce0962dd20725b4e8ad7c2 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Mon, 22 Jun 2026 00:20:37 -0400 Subject: Replace __FUNCTION__ with __func__ --- tests/test_str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_str.c') 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); } -- cgit