summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/completion/common.lua b/test/completion/common.lua
index 818d0ac5..787549f7 100644
--- a/test/completion/common.lua
+++ b/test/completion/common.lua
@@ -3079,3 +3079,12 @@ TEST [[
if<??>
]]
(EXISTS)
+
+TEST [[
+local t = x[<??>]
+]]
+(function (results)
+ for _, res in ipairs(results) do
+ assert(res.label ~= 'do')
+ end
+end)