Skip to content

Commit 87d97b6

Browse files
committed
test: add missing vim.schedule mock to selection test
Fixes test failures caused by missing vim.schedule function in the local vim mock used by selection_test.lua. The logger now requires vim.schedule to be available for all logging levels. Change-Id: Iec504a23187522a4f7968ec88d85476719a177d4 Signed-off-by: Thomas Kosiewski <[email protected]>
1 parent 5ac34cf commit 87d97b6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/selection_test.lua

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ if not _G.vim then
33
schedule_wrap = function(fn)
44
return fn
55
end,
6+
schedule = function(fn)
7+
fn()
8+
end,
69
_buffers = {},
710
_windows = {},
811
_commands = {},

0 commit comments

Comments
 (0)