aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-07-27 17:14:27 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-07-28 17:02:56 +0000
commitd79a3b9350ba864464229a1c188e2f696fac5a26 (patch)
treefec4b0cc07164d74ab66b6230f52b522df610057 /tests
parenttest: config: test colors.{jump-labels,scrollback-indicator} (diff)
config: add colors.search-box-{no-,}match
Closes #1112
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index 5a7cda63..930be6bf 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -668,6 +668,12 @@ test_section_colors(void)
test_two_colors(&ctx, &parse_section_colors, "scrollback-indicator", false,
&conf.colors.scrollback_indicator.fg,
&conf.colors.scrollback_indicator.bg);
+ test_two_colors(&ctx, &parse_section_colors, "search-box-no-match", false,
+ &conf.colors.search_box.no_match.fg,
+ &conf.colors.search_box.no_match.bg);
+ test_two_colors(&ctx, &parse_section_colors, "search-box-match", false,
+ &conf.colors.search_box.match.fg,
+ &conf.colors.search_box.match.bg);
for (size_t i = 0; i < 255; i++) {
char key_name[4];