aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-04-11 13:26:50 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-04-11 13:26:50 +0000
commit385fc0078fc4aefbdc51275a450493d750e6c071 (patch)
tree83b5cbf909b8a324124bbfc1cfc08a2d26f7369e /tests
parentmeson: bump version to 1.17.0 (diff)
parentconfig: add new key-binding 'quit', unbound by default (diff)
Merge branch 'master' into releases/1.17
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 b54dd23e..3d4d345c 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -635,6 +635,12 @@ test_section_cursor(void)
(const char *[]){"block", "beam", "underline"},
(int []){CURSOR_BLOCK, CURSOR_BEAM, CURSOR_UNDERLINE},
(int *)&conf.cursor.style);
+ test_enum(
+ &ctx, &parse_section_cursor, "unfocused-style",
+ 3,
+ (const char *[]){"unchanged", "hollow", "none"},
+ (int []){CURSOR_UNFOCUSED_UNCHANGED, CURSOR_UNFOCUSED_HOLLOW, CURSOR_UNFOCUSED_NONE},
+ (int *)&conf.cursor.unfocused_style);
test_boolean(&ctx, &parse_section_cursor, "blink", &conf.cursor.blink);
test_pt_or_px(&ctx, &parse_section_cursor, "beam-thickness",
&conf.cursor.beam_thickness);