summaryrefslogtreecommitdiff
path: root/tests/run.lua
diff options
context:
space:
mode:
authorJackson Moore <jacksonmoore@tuta.io>2026-09-04 11:37:58 +0200
committerJackson Moore <jacksonmoore@tuta.io>2026-09-04 11:37:58 +0200
commit9b45bf9f8d21087520dd2a2edcb655e00283f956 (patch)
tree44b99b2d6de0125edbbaa507405291232dcdc442 /tests/run.lua
parent846277adf74fe59367b4c76280ed76fce10d1528 (diff)
Assign high overlay priorities
Diffstat (limited to 'tests/run.lua')
-rw-r--r--tests/run.lua14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/run.lua b/tests/run.lua
index 77551e1..f02219f 100644
--- a/tests/run.lua
+++ b/tests/run.lua
@@ -4411,6 +4411,20 @@ test("Feature links are evaluated only while their features are enabled", functi
end
end)
+test("Cursor and character overlays use high priority", function()
+ same(
+ feedback_service.Priority.HIGH,
+ feedback_service.overlay_priority("CleverFCursor")
+ )
+ same(
+ feedback_service.Priority.HIGH,
+ feedback_service.overlay_priority("CleverFChar")
+ )
+ fails(function()
+ feedback_service.overlay_priority("Other")
+ end, "unknown feedback overlay group")
+end)
+
for _, item in ipairs(tests) do
local ok, failure = xpcall(item.body, debug.traceback)
if not ok then