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