summaryrefslogtreecommitdiff
path: root/server/test/hover/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-02-26 15:29:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-02-26 15:29:10 +0800
commit94a9de07f5042e18927ce996f151c846fca432f9 (patch)
tree2152f984a509242dd0ad2dd122d57bf518ab26f3 /server/test/hover/init.lua
parentae9734ee608897b48c2f1ef730d30cc168377e31 (diff)
downloadlua-language-server-94a9de07f5042e18927ce996f151c846fca432f9.zip
暂存
Diffstat (limited to 'server/test/hover/init.lua')
-rw-r--r--server/test/hover/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index ca8cf823..cda10baa 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -12,7 +12,7 @@ function TEST(script)
local ast = parser:ast(new_script)
local vm = core.vm(ast)
assert(vm)
- local result, source = core.findResult(vm, pos)
+ local result, source = core.findSource(vm, pos)
local hover = core.hover(result, source)
if expect then
assert(hover)