summaryrefslogtreecommitdiff
path: root/server/test/hover/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/hover/init.lua
parent143937e84d8f6a8b85cbc8a39b542ab2dab2ee4d (diff)
downloadlua-language-server-cf45170e1003ab9bb149636725216f6fcf3f09a0.zip
支持新的 Local Attributes
Diffstat (limited to 'server/test/hover/init.lua')
-rw-r--r--server/test/hover/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index cafbdc99..a3d56cdf 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -817,10 +817,10 @@ local x: any
]]
TEST [[
-local <toclose> <const> <?x?> = 1
+local <?x?> <close> <const> = 1
]]
[[
-local <toclose> <const> x: number = 1
+local x <close> <const>: number = 1
]]
TEST [[