test(lsp): call clear() before bufwipe test (#20170)

Otherwise this test cannot be run alone, and fails frequently on CI.
This commit is contained in:
zeertzjq
2022-09-13 06:01:35 +08:00
committed by GitHub
parent f6232e160b
commit 91a150d0a9

View File

@@ -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