commit 91a150d0a9f81d8db34ba45de2a8a270010e2f3a
parent f6232e160b96e2607edcd5afa7207a1e4aadf805
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue, 13 Sep 2022 06:01:35 +0800
test(lsp): call clear() before bufwipe test (#20170)
Otherwise this test cannot be run alone, and fails frequently on CI.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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