aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/vim_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-11-10 15:24:36 +0800
committerGitHub <noreply@github.com>2023-11-10 15:24:36 +0800
commitd5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09 (patch)
treed3ade990979b1c8f0ad3890fc8a6eb5b90848f68 /test/functional/lua/vim_spec.lua
parentbf5cf8ae82f2a164fba6ae063e0f5b7cb7c1df7b (diff)
downloadrneovim-d5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09.tar.gz
rneovim-d5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09.tar.bz2
rneovim-d5a85d737aa2a5c3a64ef0aa5b01672b7ed49c09.zip
fix(f_wait): flush UI before blocking (#25962)
Diffstat (limited to 'test/functional/lua/vim_spec.lua')
-rw-r--r--test/functional/lua/vim_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/lua/vim_spec.lua b/test/functional/lua/vim_spec.lua
index 1ebfa9dd1d..a8a72f20c9 100644
--- a/test/functional/lua/vim_spec.lua
+++ b/test/functional/lua/vim_spec.lua
@@ -2559,7 +2559,6 @@ describe('lua stdlib', function()
]])
end)
-
it('should not block other events', function()
eq({time = true, wait_result = true}, exec_lua[[
start_time = get_time()
@@ -2601,6 +2600,7 @@ describe('lua stdlib', function()
}
]])
end)
+
it('should work with vim.defer_fn', function()
eq({time = true, wait_result = true}, exec_lua[[
start_time = get_time()