From 01033b3711adfca527836ec1fa731dddcbab749b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 3 Jul 2025 13:13:44 +0200 Subject: [PATCH] test-utf8: drop explicit setting of colors It was added in 82208a9949ff96abfd41ea3dd969fa7501ee4686, but since 13ee93978479b80e980d8551c689a7087bf1817e, we enable colors by default. I don't think this function is doing anything useful. --- src/test/test-utf8.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/test/test-utf8.c b/src/test/test-utf8.c index 18974e76642..ed7625061ac 100644 --- a/src/test/test-utf8.c +++ b/src/test/test-utf8.c @@ -239,9 +239,4 @@ TEST(utf8_last_length) { ASSERT_EQ(utf8_last_length("koff👊", SIZE_MAX), strlen("👊")); } -static int intro(void) { - log_show_color(true); - return EXIT_SUCCESS; -} - -DEFINE_TEST_MAIN_WITH_INTRO(LOG_INFO, intro); +DEFINE_TEST_MAIN(LOG_INFO); -- 2.47.3