summaryrefslogtreecommitdiff
path: root/server/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-07-05 15:04:41 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-07-05 15:04:41 +0800
commitd91adfe4ebd18099fde3e4389655d4532fc9b00c (patch)
treed15de422cd614f13c72a43a8f9ad375c43eba2da /server/test/diagnostics/init.lua
parentb1afe6e48fc454fcc767c6a009fa2f59697b38c1 (diff)
downloadlua-language-server-d91adfe4ebd18099fde3e4389655d4532fc9b00c.zip
扩展优先级
Diffstat (limited to 'server/test/diagnostics/init.lua')
-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 62996054..ebdb917a 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -453,3 +453,8 @@ TEST [[
local x
x = <!x or 0 + 1!>
]]
+
+TEST [[
+local x, y
+x = <!x + y or 0!>
+]]