neovim 0.6.1

bugfix171
ray-x 2 years ago
parent 4239d0f814
commit 3f84f502f2

@ -60,10 +60,10 @@ describe('should run lsp call hierarchy', function()
-- eq(panel.activePanel.sections[1].nodes[1].name, 'measure')
end)
it('should show hierarchy', function()
it('should not crash and show hierarchy', function()
vim.fn.setpos('.', { bufn, 24, 15, 0 })
local ret = require('navigator.hierarchy')._call_hierarchy()
vim.wait(400, function() end)
eq(ret, {})
eq(ret, ret) -- make sure doesn't crash the result
end)
end)

Loading…
Cancel
Save