summaryrefslogtreecommitdiff
path: root/server/test/find_lib/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/find_lib/init.lua')
-rw-r--r--server/test/find_lib/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/find_lib/init.lua b/server/test/find_lib/init.lua
index e55b33af..eb4686bc 100644
--- a/server/test/find_lib/init.lua
+++ b/server/test/find_lib/init.lua
@@ -13,7 +13,7 @@ function TEST(fullkey)
assert(ast)
local vm = core.vm(ast)
assert(vm)
- local result = core.findResult(vm, pos)
+ local result = core.findSource(vm, pos)
local _, name = core.findLib(result)
assert(name == fullkey)
end