summaryrefslogtreecommitdiff
path: root/server/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-07-08 20:31:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-07-08 20:31:53 +0800
commitdc67d2357ef43e9f3c1f4d78ef5e141c475b9dcb (patch)
tree76d0d5e06bb44c0401522a206adefad167ee049e /server/test/diagnostics
parentdd792e6924572117905f7f58574ac38bb361c236 (diff)
downloadlua-language-server-dc67d2357ef43e9f3c1f4d78ef5e141c475b9dcb.zip
修正优先级识别的bug
Diffstat (limited to 'server/test/diagnostics')
-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 ebdb917a..97cd6ccd 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -458,3 +458,8 @@ TEST [[
local x, y
x = <!x + y or 0!>
]]
+
+TEST [[
+local x, y, z
+x = x and y or '' .. z
+]]