From c0aa4144048091168fd43fb279893a8d224432a9 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Thu, 30 Dec 2021 21:49:08 +0100 Subject: test: config: colors: test ‘256’ is an invalid key MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test-config.c | 2 ++ 1 file changed, 2 insertions(+) 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) */ -- cgit v1.3