test: remove a few more redundant clear() calls

This commit is contained in:
zeertzjq
2025-09-24 13:10:32 +08:00
parent 0837a1ec2e
commit 2af99811f7
14 changed files with 13 additions and 40 deletions

View File

@@ -184,7 +184,6 @@ describe('vim.lsp.util', function()
end
before_each(function()
n.clear()
local _ = Screen.new(80, 80)
feed('79i<CR><Esc>') -- fill screen with empty lines
end)
@@ -280,7 +279,6 @@ describe('vim.lsp.util', function()
describe('open_floating_preview', function()
before_each(function()
n.clear()
Screen.new(10, 10)
feed('9i<CR><Esc>G4k')
end)