summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/run.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run.lua b/tests/run.lua
index f02219f..1a3536f 100644
--- a/tests/run.lua
+++ b/tests/run.lua
@@ -4425,6 +4425,13 @@ test("Cursor and character overlays use high priority", function()
end, "unknown feedback overlay group")
end)
+test("Direct overlays use ordinary priority", function()
+ same(
+ feedback_service.Priority.ORDINARY,
+ feedback_service.overlay_priority("CleverFDirect")
+ )
+end)
+
for _, item in ipairs(tests) do
local ok, failure = xpcall(item.body, debug.traceback)
if not ok then