summaryrefslogtreecommitdiff
path: root/test/hover/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/hover/init.lua')
-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"
+]]