diff options
Diffstat (limited to 'tests/run.lua')
| -rw-r--r-- | tests/run.lua | 14 |
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 |
