test: don't call clear() in both before_each() and after_each() (#35901)

This commit is contained in:
zeertzjq
2025-09-24 11:41:43 +08:00
committed by GitHub
parent d954763b85
commit a62fb57e58
8 changed files with 0 additions and 14 deletions

View File

@@ -863,8 +863,6 @@ describe('vim.lsp.completion: protocol', function()
end)
end)
after_each(clear)
local function assert_matches(fn)
retry(nil, nil, function()
fn(exec_lua('return _G.capture.matches'))
@@ -1262,8 +1260,6 @@ describe('vim.lsp.completion: integration', function()
end)
end)
after_each(clear)
it('puts cursor at the end of completed word', function()
local completion_list = {
isIncomplete = false,