summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-08 14:30:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-08 14:30:12 +0800
commit0b898555f495b80f278fec01d2f3e6ec83b4952c (patch)
treeaed287373390fe6fe856b44f2c05da3e9a5af4d0 /test/hover
parent3771e70b48e9a088cbdc11a8b952d525eea1e7c9 (diff)
downloadlua-language-server-0b898555f495b80f278fec01d2f3e6ec83b4952c.zip
fix
Diffstat (limited to 'test/hover')
-rw-r--r--test/hover/init.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 5ee4db51..2ae6837f 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -1737,7 +1737,7 @@ TEST [[
---@class A
local a
-local b = nil
+local b
b = a
print(b.<?x?>)
@@ -1809,3 +1809,10 @@ local <?uri?>
[[
local uri: string
]]
+
+TEST [[
+local <?x?> = '1' .. '2'
+]]
+[[
+local x: string = "12"
+]]