summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-12 21:00:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-12 21:00:12 +0800
commit3ce89009f9e37193a00aa3eefb09f46eaff409c7 (patch)
tree401e3e3798a1b64e0ce8f66168a2f3849415eea9 /server/test
parentbf31ca7ebf54d094ca8b13ca1486cbe8e6e9ef4c (diff)
downloadlua-language-server-3ce89009f9e37193a00aa3eefb09f46eaff409c7.zip
只有存在二义性的时候才提示
Diffstat (limited to 'server/test')
-rw-r--r--server/test/diagnostics/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index fb188318..fc9e8ec3 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -114,3 +114,8 @@ TEST [[
print(_G)
<!('string')!>:sub(1, 1)
]]
+
+TEST [[
+print(_G)
+('string')
+]]