aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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);