summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-10 20:41:05 +0800
committersumneko <sumneko@hotmail.com>2019-04-10 20:41:05 +0800
commit81da8135d6aa45ab0d02534b93e019222afbe51b (patch)
tree8279611aaf0f82b9f0382fe322ebe23074840ee9 /server/test
parentcf5c0eaeb60c5610e7b9fe34f1d2df1376cb856d (diff)
downloadlua-language-server-81da8135d6aa45ab0d02534b93e019222afbe51b.zip
修正一个错误
Diffstat (limited to 'server/test')
-rw-r--r--server/test/hover/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 3d82777d..6db4a1c0 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -441,3 +441,10 @@ local _, <?r?> = pcall(a, 1)
[[
local r: string = "a"
]]
+
+TEST[[
+local <?n?> = rawlen()
+]]
+[[
+local n: integer
+]]