summaryrefslogtreecommitdiff
path: root/server/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/crossfile')
-rw-r--r--server/test/crossfile/hover.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/crossfile/hover.lua b/server/test/crossfile/hover.lua
index 03f3c6d5..ffa89bc0 100644
--- a/server/test/crossfile/hover.lua
+++ b/server/test/crossfile/hover.lua
@@ -72,8 +72,8 @@ function TEST(data)
local sourceVM = lsp:loadVM(sourceUri)
assert(sourceVM)
local sourcePos = (sourceList[1][1] + sourceList[1][2]) // 2
- local result, source = core.findSource(sourceVM, sourcePos)
- local hover = core.hover(result, source, lsp)
+ local source = core.findSource(sourceVM, sourcePos)
+ local hover = core.hover(source, lsp)
assert(hover)
if data.hover.description then
data.hover.description = data.hover.description:gsub('%$ROOT%$', ws:uriEncode(ROOT):gsub('%%', '%%%%'))