diff options
Diffstat (limited to 'server/test/completion')
-rw-r--r-- | server/test/completion/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index cf827f40..95f66d33 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -223,3 +223,17 @@ t.@ kind = CompletionItemKind.Field, }, } + +TEST [[ +t.a = {} +function t:b() +end +t:@ +]] +{ + { + label = 'b', + kind = CompletionItemKind.Method, + documentation = EXISTS, + } +} |