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.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 2c68fef5..515c3422 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -831,6 +831,17 @@ global _G: _G {
]]
TEST [[
+local <?t?> = {
+ 'aaa',
+ 'bbb',
+ 'ccc',
+}
+]]
+[[
+local t: {}
+]]
+
+TEST [[
local x
x = 1
x = 1.0