summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/init.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index 9540eb2a..d975fa7e 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -2755,3 +2755,16 @@ local c
c:on('$')
]]
(EXISTS)
+
+TEST [[
+local m = {}
+
+function m.f()
+end
+
+m.f()
+m.$
+]]
+{
+ [1] = EXISTS,
+}