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

This commit is contained in:
zeertzjq
2025-09-24 11:13:58 +08:00
parent 4923d151b5
commit 0837a1ec2e
6 changed files with 0 additions and 12 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 👦'