From 7aad838572248df2902c172b7448bc033ce01964 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Wed, 2 Sep 2026 12:55:12 +0200 Subject: config: remove support for the deprecated colors and colors2 sections They were deprecated in 1.26.0, and replaced by colors-dark and colors-light. --- tests/test-config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/test-config.c b/tests/test-config.c index 16cfb2b0..4fff7f0c 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -713,7 +713,7 @@ test_section_colors_dark(void) struct context ctx = { .conf = &conf, .section = "colors-dark", .path = "unittest"}; - test_invalid_key(&ctx, &parse_section_colors, "invalid-key"); + test_invalid_key(&ctx, &parse_section_colors_dark, "invalid-key"); test_color(&ctx, &parse_section_colors_dark, "foreground", false, &conf.colors_dark.fg); test_color(&ctx, &parse_section_colors_dark, "background", false, &conf.colors_dark.bg); @@ -794,7 +794,7 @@ test_section_colors_light(void) struct context ctx = { .conf = &conf, .section = "colors-light", .path = "unittest"}; - test_invalid_key(&ctx, &parse_section_colors, "invalid-key"); + test_invalid_key(&ctx, &parse_section_colors_light, "invalid-key"); test_color(&ctx, &parse_section_colors_light, "foreground", false, &conf.colors_light.fg); test_color(&ctx, &parse_section_colors_light, "background", false, &conf.colors_light.bg); -- cgit v1.3