summaryrefslogtreecommitdiff
path: root/server/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-01 14:58:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-01 14:58:59 +0800
commitcf45170e1003ab9bb149636725216f6fcf3f09a0 (patch)
tree5d7ec675eb9433adf9d91ba5fbcf0a12feca31f6 /server/test/diagnostics/init.lua
parent143937e84d8f6a8b85cbc8a39b542ab2dab2ee4d (diff)
downloadlua-language-server-cf45170e1003ab9bb149636725216f6fcf3f09a0.zip
支持新的 Local Attributes
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r--server/test/diagnostics/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 36cfb3c6..5d015dfd 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -444,7 +444,7 @@ TEST [[
]]
TEST [[
-local <const> x = 1
+local x <const> = 1
<!x!> = 2
return x
]]