From 91a150d0a9f81d8db34ba45de2a8a270010e2f3a Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Tue, 13 Sep 2022 06:01:35 +0800 Subject: test(lsp): call clear() before bufwipe test (#20170) Otherwise this test cannot be run alone, and fails frequently on CI. --- test/functional/plugin/lsp_spec.lua | 1 + 1 file changed, 1 insertion(+) 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 -- cgit