aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2026-09-02 10:55:12 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-09-02 10:55:12 +0000
commit7aad838572248df2902c172b7448bc033ce01964 (patch)
tree48785472534896dfe129d86cd4eaa6280ddab899 /tests
parentconfig: remove debug printf from unit test (diff)
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.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c4
1 files changed, 2 insertions, 2 deletions
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);