summaryrefslogtreecommitdiff
path: root/server-beta/test/definition
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-10-22 15:40:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-10-22 15:40:02 +0800
commit4b3d9412560935d11e63487d6be7d3bfb8b11b91 (patch)
tree408ffe09d74bd48912f5ede6b5cb8837d37f7ea5 /server-beta/test/definition
parent917d721acdf86ff69728fae89662019c519ea561 (diff)
downloadlua-language-server-4b3d9412560935d11e63487d6be7d3bfb8b11b91.zip
打开跨文件def测试
Diffstat (limited to 'server-beta/test/definition')
-rw-r--r--server-beta/test/definition/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-beta/test/definition/init.lua b/server-beta/test/definition/init.lua
index 54e0be4b..f2c68f14 100644
--- a/server-beta/test/definition/init.lua
+++ b/server-beta/test/definition/init.lua
@@ -43,7 +43,7 @@ function TEST(script)
local ast = parser:compile(new_script, 'lua', 'Lua 5.3')
assert(ast)
- local results = core(ast, new_script, pos)
+ local results = core(ast, pos)
if results then
local positions = {}
for i, result in ipairs(results) do