summaryrefslogtreecommitdiff
path: root/tests/run.lua
diff options
context:
space:
mode:
authorJackson Moore <jacksonmoore@tuta.io>2026-09-04 11:36:57 +0200
committerJackson Moore <jacksonmoore@tuta.io>2026-09-04 11:36:57 +0200
commitb5aefe45f551ba8844464cdf3afcffee5b81197d (patch)
treeae19157b3bc1c33ef8f61cebf0706dc1fc0ca671 /tests/run.lua
parentfb7578788d9192387228c60c76590d2328e64119 (diff)
Use Cursor cursor fallback
Diffstat (limited to 'tests/run.lua')
-rw-r--r--tests/run.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/run.lua b/tests/run.lua
index b3ba0dd..0c00dd1 100644
--- a/tests/run.lua
+++ b/tests/run.lua
@@ -4358,6 +4358,15 @@ test("Missing feature groups receive fallback links", function()
same(nil, fallback_definition.options.force)
end)
+test("Cursor feedback falls back to the Cursor group", function()
+ local host = MemoryHost.new()
+ local feedback = feedback_service.new(host)
+
+ local results = feedback:evaluate_feature_links()
+ same("Cursor", results.CleverFCursor.target)
+ same("Cursor", host:highlight_groups().CleverFCursor.link)
+end)
+
for _, item in ipairs(tests) do
local ok, failure = xpcall(item.body, debug.traceback)
if not ok then