summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-07-29 15:47:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-07-29 15:47:31 +0800
commit2a795db6935b37980ba7410fa7fbe0e0fd0a562a (patch)
treef33a55a6b2fbe4c73c062c7f84067655750fa4b2 /test/completion
parent7397df30ab802b6f6e3b75c6094d1c1711604937 (diff)
downloadlua-language-server-2a795db6935b37980ba7410fa7fbe0e0fd0a562a.zip
fix #1395
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua
index 23b3eff6..997ebd14 100644
--- a/test/completion/common.lua
+++ b/test/completion/common.lua
@@ -3697,3 +3697,19 @@ f(<??>)
kind = define.CompletionItemKind.EnumMember,
},
}
+
+TEST [[
+--
+<??>
+]]
+(function (results)
+ assert(#results > 2)
+end)
+
+TEST [[
+--xxx
+<??>
+]]
+(function (results)
+ assert(#results > 2)
+end)