diff options
Diffstat (limited to 'server/test/definition/init.lua')
-rw-r--r-- | server/test/definition/init.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/test/definition/init.lua b/server/test/definition/init.lua index d699744a..cad120f7 100644 --- a/server/test/definition/init.lua +++ b/server/test/definition/init.lua @@ -45,8 +45,7 @@ function TEST(script) local vm = buildVM(ast) assert(vm) - local source = core.findSource(vm, pos) - local positions = core.definition(vm, source, nil) + local positions = core.definition(vm, pos, 'definition', nil) if positions then assert(founded(target, positions)) else |