aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-01-13 11:26:20 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-01-13 11:26:20 +0000
commit467e4f2ef864a6a695aa2fcdf717f414188a6215 (patch)
tree58f0e040783135f50a16f0c77a9d7557d448a346 /tests
parenttest: config: test ‘tweak’ section (diff)
test: config: tweak.grapheme-shaping can’t be set when grapheme-clustering has been disabled
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index 12ec6c1d..d22e96a8 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -1137,8 +1137,13 @@ test_section_tweak(void)
#endif
test_boolean(&ctx, &parse_section_tweak, "damage-whole-window",
&conf.tweak.damage_whole_window);
+
+#if defined(FOOT_GRAPHEME_CLUSTERING)
test_boolean(&ctx, &parse_section_tweak, "grapheme-shaping",
&conf.tweak.grapheme_shaping);
+#else
+ /* TODO: the setting still exists, but is always forced to ‘false’. */
+#endif
test_enum(
&ctx, &parse_section_tweak, "grapheme-width-method",