summaryrefslogtreecommitdiff
path: root/test/hover
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-16 20:07:03 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-16 20:07:03 +0800
commitb1c58cdb05a906eb7e8c58d19288c5d83191a67b (patch)
treebe5ec377df6dcccd4082fddda068533f6b6fe9e0 /test/hover
parent9052464f0175619160d216c0671a77084cf3f046 (diff)
downloadlua-language-server-b1c58cdb05a906eb7e8c58d19288c5d83191a67b.zip
fix
Diffstat (limited to 'test/hover')
-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