diff options
| author | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-04 12:18:58 +0200 |
|---|---|---|
| committer | Jackson Moore <jacksonmoore@tuta.io> | 2026-09-04 12:18:58 +0200 |
| commit | 44de5ebbdea0193ef4072175795410b9d5d22afa (patch) | |
| tree | 89dfcd3c3d59d5486fde712bfe459943e9f07b95 /tests | |
| parent | d3df234e9dbf3337b61bc79916bda55e435a7512 (diff) | |
Fix macro feedback suppression
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/run.lua | 7 |
1 files changed, 5 insertions, 2 deletions
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() |
