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

@@ -115,10 +115,6 @@ describe('vim.lsp.diagnostic', function()
end)
end)
after_each(function()
clear()
end)
describe('vim.lsp.diagnostic.on_publish_diagnostics', function()
it('correctly handles UTF-16 offsets', function()
local line = 'All 💼 and no 🎉 makes Jack a dull 👦'