summaryrefslogtreecommitdiff
path: root/server-beta/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-11 13:28:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-11 13:28:17 +0800
commit7cfc2aad9ee1bc2ebaba563c8a7c8f5a4f1c64f6 (patch)
tree1d7d7e573d658ac75304b382eb09f251db76b622 /server-beta/test/diagnostics/init.lua
parent57b8f00759bedec39cd22b7deeb22e59de80fabc (diff)
downloadlua-language-server-7cfc2aad9ee1bc2ebaba563c8a7c8f5a4f1c64f6.zip
修正几个诊断bug
Diffstat (limited to 'server-beta/test/diagnostics/init.lua')
-rw-r--r--server-beta/test/diagnostics/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua
index 1493494d..aaf51987 100644
--- a/server-beta/test/diagnostics/init.lua
+++ b/server-beta/test/diagnostics/init.lua
@@ -203,6 +203,13 @@ print()
]]
TEST [[
+local x
+return x
+ : f(1)
+ : f(1)
+]]
+
+TEST [[
return {
<!print
'string'!>