diff options
Diffstat (limited to 'server/test/find_lib/init.lua')
-rw-r--r-- | server/test/find_lib/init.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/find_lib/init.lua b/server/test/find_lib/init.lua index 5bd5e8b4..63654b19 100644 --- a/server/test/find_lib/init.lua +++ b/server/test/find_lib/init.lua @@ -13,8 +13,8 @@ function TEST(fullkey) assert(ast) local vm = matcher.vm(ast) assert(vm) - local result = matcher.findResult(vm.results, pos) - local _, name = matcher.findLib(result.object) + local result = matcher.findResult(vm, pos) + local _, name = matcher.findLib(result) assert(name == fullkey) end end |