aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRyan Roden-Corrent <git@rrc.codes>2025-08-07 12:18:38 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-08-31 09:36:28 +0000
commit298196365c06c13dd16a74e34e03d9de93670473 (patch)
tree9ebd7f70ca9ae60799bb369c813df12fb9c3d993 /tests
parentinput: unit test: check pipe2() return value (diff)
config: add 'uppercase-regex-insert'
This makes the "uppercase hint character inserts selected text" behavior added in #1975 configurable, as it can have unexpected behavior for some users. It defaults to "on", preserving the new behavior of `foot`, after Fixes #2159.
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index bab57788..8c0805f4 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -491,6 +491,7 @@ test_section_main(void)
test_boolean(&ctx, &parse_section_main, "locked-title", &conf.locked_title);
test_boolean(&ctx, &parse_section_main, "dpi-aware", &conf.dpi_aware);
test_boolean(&ctx, &parse_section_main, "gamma-correct-blending", &conf.gamma_correct);
+ test_boolean(&ctx, &parse_section_main, "uppercase-regex-insert", &conf.uppercase_regex_insert);
test_pt_or_px(&ctx, &parse_section_main, "font-size-adjustment", &conf.font_size_adjustment.pt_or_px); /* TODO: test ‘N%’ values too */
test_pt_or_px(&ctx, &parse_section_main, "line-height", &conf.line_height);