aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/diagnostic_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-04-07 09:38:52 +0800
committerGitHub <noreply@github.com>2023-04-07 09:38:52 +0800
commitb2d10aa01da4cf9341f68969b22875afb4afabd9 (patch)
tree93a17dd0def491fa0276f6d232307752d40d3792 /test/functional/lua/diagnostic_spec.lua
parent73060f00dd84b2fcfaed74ba061644975707c225 (diff)
downloadrneovim-b2d10aa01da4cf9341f68969b22875afb4afabd9.tar.gz
rneovim-b2d10aa01da4cf9341f68969b22875afb4afabd9.tar.bz2
rneovim-b2d10aa01da4cf9341f68969b22875afb4afabd9.zip
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 (limited to 'test/functional/lua/diagnostic_spec.lua')
-rw-r--r--test/functional/lua/diagnostic_spec.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/functional/lua/diagnostic_spec.lua b/test/functional/lua/diagnostic_spec.lua
index 7b4d68c9cd..6b4ca5ac73 100644
--- 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({