test(lua/diagnostic_spec): remove unnecessary after_each()

There is already a call to clear() in before_each(), so after_each() isn't necessary.
This commit is contained in:
zeertzjq
2023-04-07 09:38:52 +08:00
committed by GitHub
parent 73060f00dd
commit b2d10aa01d

View File

@@ -79,10 +79,6 @@ describe('vim.diagnostic', function()
]]) ]])
end) end)
after_each(function()
clear()
end)
it('creates highlight groups', function() it('creates highlight groups', function()
command('runtime plugin/diagnostic.vim') command('runtime plugin/diagnostic.vim')
eq({ eq({