summaryrefslogtreecommitdiff
path: root/server/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-11 14:52:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-11 14:52:09 +0800
commit764084f9d2e8f7bb69aea8fc97453f10c9ba7f77 (patch)
treeb1db5b23a9e7569eec21f7df250fd61d0cd7a343 /server/test/crossfile
parentf34e6c5ff4ed205881db18049c4a3db542c90b6b (diff)
downloadlua-language-server-764084f9d2e8f7bb69aea8fc97453f10c9ba7f77.zip
更新crossfile
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('%%', '%%%%'))