From 44de5ebbdea0193ef4072175795410b9d5d22afa Mon Sep 17 00:00:00 2001 From: Jackson Moore Date: Fri, 4 Sep 2026 12:18:58 +0200 Subject: Fix macro feedback suppression --- tests/run.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'tests/run.lua') diff --git a/tests/run.lua b/tests/run.lua index 9bb4b26..136231d 100644 --- a/tests/run.lua +++ b/tests/run.lua @@ -4984,7 +4984,8 @@ test("Interactive acquisition redraws after cursor marker creation", function() nil, domain.MacroState.new("q") ) - same(0, #macro_host:redraws()) + list_same({ "suppressed" }, macro_host:redraws()) + same(0, map_size(macro_host:highlights())) end) test("Interactive acquisition creates enabled direct previews", function() @@ -5690,7 +5691,9 @@ test("Macro acquisition skips direct planning and all redraws", function() same("b", result.target.value) same(0, direct_calls) same(nil, service:last_temporary_scope().direct_marker) - same(0, #host:redraws()) + same(nil, service:last_temporary_scope().cursor_marker) + same(0, map_size(host:highlights())) + list_same({ "suppressed" }, host:redraws()) end) test("Acquisition preserves descriptor writes after input failure", function() -- cgit v1.2.3