summaryrefslogtreecommitdiff
path: root/server/test/hover
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/hover')
-rw-r--r--server/test/hover/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/server/test/hover/init.lua b/server/test/hover/init.lua
index 6e7c8b01..9b22e3dd 100644
--- a/server/test/hover/init.lua
+++ b/server/test/hover/init.lua
@@ -235,3 +235,16 @@ end
local <?n?> = f()
]]
[[any n]]
+
+TEST [[
+local <?n?> = table.unpack(t)
+]]
+[[any n]]
+
+TEST [[
+local <?n?>
+table.pack(n)
+]]
+[[
+any n
+]]