diff options
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index edefd51d..ee66bf97 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -376,3 +376,29 @@ TEST [[ collectgarbage(@) ]] (EXISTS) + +TEST [[ +io.read(@) +]] +{ + { + label = '"n"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, + { + label = '"a"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, + { + label = '"l"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, + { + label = '"L"', + kind = CompletionItemKind.EnumMember, + documentation = EXISTS, + }, +} |