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

@@ -5,7 +5,6 @@ local eq = t.eq
describe('glob', function()
before_each(n.clear)
after_each(n.clear)
local match = function(pattern, str)
return n.exec_lua(function()

View File

@@ -33,7 +33,6 @@ describe('vim.snippet', function()
set_snippet_jump(-1, '<S-Tab>')
end)
end)
after_each(clear)
--- @param snippet string[]
--- @param expected string[]