From e8c73c0c45d439abd06f3b7bdf29e7f6962ae665 Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Fri, 4 Sep 2026 11:37:05 +0200 Subject: Use default label feature fallbacks --- tests/run.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests') diff --git a/tests/run.lua b/tests/run.lua index 0c00dd1..ba5acd1 100644 --- a/tests/run.lua +++ b/tests/run.lua @@ -4367,6 +4367,18 @@ test("Cursor feedback falls back to the Cursor group", function() same("Cursor", host:highlight_groups().CleverFCursor.link) end) +test("Character and direct feedback fall back to the default label", function() + local host = MemoryHost.new() + local feedback = feedback_service.new(host) + + local results = feedback:evaluate_feature_links() + local groups = host:highlight_groups() + for _, group in ipairs({ "CleverFChar", "CleverFDirect" }) do + same("CleverFDefaultLabel", results[group].target) + same("CleverFDefaultLabel", groups[group].link) + end +end) + for _, item in ipairs(tests) do local ok, failure = xpcall(item.body, debug.traceback) if not ok then -- cgit v1.2.3