summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-10 16:11:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-10 16:11:49 +0800
commit99638341030dfc794bfd5d292ef84be918add228 (patch)
tree8093560df8eead158e28cdb7dd4a98489a17efba /test-beta
parentb204653f81c4139fa1933ba0bdbc3ffe9678e82e (diff)
downloadlua-language-server-99638341030dfc794bfd5d292ef84be918add228.zip
一些尝试性的优化
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/completion/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-beta/completion/init.lua b/test-beta/completion/init.lua
index bff1abbc..3a47f6db 100644
--- a/test-beta/completion/init.lua
+++ b/test-beta/completion/init.lua
@@ -47,7 +47,7 @@ function TEST(script)
local new_script = script:gsub('%$', '')
files.setText('', new_script)
- local result = core('', pos)
+ local result = core.completion('', pos)
if expect then
assert(result)
assert(eq(expect, result))