aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-09-13 06:01:35 +0800
committerGitHub <noreply@github.com>2022-09-13 06:01:35 +0800
commit91a150d0a9f81d8db34ba45de2a8a270010e2f3a (patch)
tree6c4f60809ead0a65f18e0dd795d089cc60fee3b9
parentf6232e160b96e2607edcd5afa7207a1e4aadf805 (diff)
downloadrneovim-91a150d0a9f81d8db34ba45de2a8a270010e2f3a.tar.gz
rneovim-91a150d0a9f81d8db34ba45de2a8a270010e2f3a.tar.bz2
rneovim-91a150d0a9f81d8db34ba45de2a8a270010e2f3a.zip
test(lsp): call clear() before bufwipe test (#20170)
Otherwise this test cannot be run alone, and fails frequently on CI.
-rw-r--r--test/functional/plugin/lsp_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index e0035e2e8b..395f8ed32a 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -419,6 +419,7 @@ describe('LSP', function()
end)
it('should detach buffer on bufwipe', function()
+ clear()
local result = exec_lua([[
local server = function(dispatchers)
local closing = false