mirror of
https://github.com/systemd/systemd.git
synced 2026-08-04 23:20:32 +00:00
test-utf8: drop explicit setting of colors
It was added in82208a9949, but since13ee939784, we enable colors by default. I don't think this function is doing anything useful.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user