summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-22 01:49:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-22 01:49:29 +0800
commitdad7348ed60968d765f43936c4957fa7fc175195 (patch)
tree70e540cd337b6ae7267938e3c2bd344d7ae7e0d1 /test/diagnostics/init.lua
parent6dd8b1455a6d70c1520eb9408e5ca7683c11eeb2 (diff)
downloadlua-language-server-dad7348ed60968d765f43936c4957fa7fc175195.zip
fix #566
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 54951b33..01c53533 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1127,3 +1127,10 @@ for x in each() do
print(x)
end
]]
+
+TEST [[
+---@type string
+local s
+
+print(s:upper())
+]]