summaryrefslogtreecommitdiff
path: root/server/test/signature/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/signature/init.lua')
-rw-r--r--server/test/signature/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/server/test/signature/init.lua b/server/test/signature/init.lua
index 855ffa24..0c343384 100644
--- a/server/test/signature/init.lua
+++ b/server/test/signature/init.lua
@@ -33,3 +33,14 @@ x(@
label = "function x(a: any, b: any)",
arg = 'a: any'
}
+
+TEST [[
+local function x(a, b)
+end
+
+x(@)
+]]
+{
+ label = "function x(a: any, b: any)",
+ arg = 'a: any'
+}