spec test, allow gopls start

pull/47/head
ray-x 3 years ago
parent ce449c440b
commit a3dd6ebcc4

@ -31,7 +31,9 @@ describe("should run lsp reference", function()
preview_height = 0.35, -- max height of preview windows
border = 'none'
})
-- allow gopls start
vim.wait(200, function()
end)
vim.fn.setpos(".", {bufn, 15, 4, 0}) -- width
vim.bo.filetype = "go"
@ -62,6 +64,10 @@ describe("should run lsp reference", function()
preview_height = 0.35, -- max height of preview windows
border = 'none'
})
-- allow gopls start
vim.wait(200, function()
end)
local result = {
{
range = {['end'] = {character = 6, line = 14}, start = {character = 1, line = 14}},

Loading…
Cancel
Save