summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJackson Moore <jacksonmoore@tuta.io>2026-09-04 12:33:33 +0200
committerJackson Moore <jacksonmoore@tuta.io>2026-09-04 12:33:33 +0200
commit44682cf3244b773c33037967bd028608eb7be6dd (patch)
tree079ded323f34cbbbe778eeba055cc473a7879d9c /tests
parent49ac634d8984e4cf64280eb28e2adade4925ed18 (diff)
Fix macro persistent feedback
Diffstat (limited to 'tests')
-rw-r--r--tests/run.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/run.lua b/tests/run.lua
index 444a310..a03556f 100644
--- a/tests/run.lua
+++ b/tests/run.lua
@@ -5676,9 +5676,11 @@ test("Macro acquisition skips direct planning and all redraws", function()
},
input_packets = { { kind = "text", text = "b" } },
})
+ local feedback = feedback_service.new(host)
local service = acquisition_service.new({
host = host,
direct_planner = direct_planner,
+ feedback = feedback,
})
local result = service:acquire(
@@ -5693,6 +5695,7 @@ test("Macro acquisition skips direct planning and all redraws", function()
same(nil, service:last_temporary_scope().direct_marker)
same(nil, service:last_temporary_scope().cursor_marker)
same(0, map_size(host:highlights()))
+ same(0, #feedback:persistent_requests())
list_same({ "suppressed" }, host:redraws())
end)