aboutsummaryrefslogtreecommitdiff
path: root/test/functional/script/luacats_grammar_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/script/luacats_grammar_spec.lua')
-rw-r--r--test/functional/script/luacats_grammar_spec.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/functional/script/luacats_grammar_spec.lua b/test/functional/script/luacats_grammar_spec.lua
index 6d444e1888..d6fff3f409 100644
--- a/test/functional/script/luacats_grammar_spec.lua
+++ b/test/functional/script/luacats_grammar_spec.lua
@@ -159,4 +159,11 @@ describe('luacats grammar', function()
name = 'type',
type = '`T`',
})
+
+ test('@param type [number,string] this is a tuple type', {
+ desc = 'this is a tuple type',
+ kind = 'param',
+ name = 'type',
+ type = '[number,string]',
+ })
end)