commit b2d10aa01da4cf9341f68969b22875afb4afabd9
parent 73060f00dd84b2fcfaed74ba061644975707c225
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri, 7 Apr 2023 09:38:52 +0800
test(lua/diagnostic_spec): remove unnecessary after_each()
There is already a call to clear() in before_each(), so after_each() isn't necessary.
Diffstat:
1 file changed, 0 insertions(+), 4 deletions(-)
diff --git a/test/functional/lua/diagnostic_spec.lua b/test/functional/lua/diagnostic_spec.lua
@@ -79,10 +79,6 @@ describe('vim.diagnostic', function()
]])
end)
- after_each(function()
- clear()
- end)
-
it('creates highlight groups', function()
command('runtime plugin/diagnostic.vim')
eq({