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