aboutsummaryrefslogtreecommitdiff
path: root/test/functional/editor
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-07-19 13:08:11 +0200
committerGitHub <noreply@github.com>2022-07-19 13:08:11 +0200
commit101fd04ee2036b125a93f3e71dbaa4ae6917ce8b (patch)
tree424ebcabeecf4c0e88cb5b7b7cb6e407bc11de63 /test/functional/editor
parent93bd6fb2c8e1f68a48169a63caae1fc0b4797a8a (diff)
parentf87c8245133dd8116a9bab2d2e89f9b26967c7a8 (diff)
downloadrneovim-101fd04ee2036b125a93f3e71dbaa4ae6917ce8b.tar.gz
rneovim-101fd04ee2036b125a93f3e71dbaa4ae6917ce8b.tar.bz2
rneovim-101fd04ee2036b125a93f3e71dbaa4ae6917ce8b.zip
Merge pull request #19409 from bfredl/uiunpack
perf(ui): some ui_client fixes/optimizations before externalized TUI
Diffstat (limited to 'test/functional/editor')
-rw-r--r--test/functional/editor/put_spec.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/functional/editor/put_spec.lua b/test/functional/editor/put_spec.lua
index cc9fce8f67..5050edff5c 100644
--- a/test/functional/editor/put_spec.lua
+++ b/test/functional/editor/put_spec.lua
@@ -879,9 +879,13 @@ describe('put command', function()
ine of words 2]], curbuf_contents())
end)
- local function bell_test(actions, should_ring)
- local screen = Screen.new()
+ local screen
+ setup(function()
+ screen = Screen.new()
screen:attach()
+ end)
+
+ local function bell_test(actions, should_ring)
if should_ring then
-- check bell is not set by nvim before the action
screen:sleep(50)
@@ -899,7 +903,6 @@ describe('put command', function()
end
end
end, unchanged=(not should_ring)}
- screen:detach()
end
it('should not ring the bell with gp at end of line', function()