aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-12-30 20:49:08 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-12-30 20:49:08 +0000
commitc0aa4144048091168fd43fb279893a8d224432a9 (patch)
treeba17b25edab0cfe28088d3db195f1047014f7920 /tests
parenttest: config: test colors section (diff)
test: config: colors: test ‘256’ is an invalid key
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index da0314d6..68fa2767 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -623,6 +623,8 @@ test_section_colors(void)
&conf.colors.table[i]);
}
+ test_invalid_key(&ctx, &parse_section_colors, "256");
+
/* TODO: alpha (float in range 0-1, converted to uint16_t) */
/* TODO: jump-labels (two colors) */
/* TODO: scrollback-indicator (two colors) */