diff options
author | Ilia Choly <ilia.choly@gmail.com> | 2024-05-31 11:47:32 -0400 |
---|---|---|
committer | Lewis Russell <me@lewisr.dev> | 2024-06-01 12:56:43 +0100 |
commit | 9eb0426002696fba4a7c5b9cadd8799a8ae18e6a (patch) | |
tree | 3d28bf75fdebbc11f39c1b4d1b9006618bd762a1 /test/functional/script/luacats_grammar_spec.lua | |
parent | f2083bd55cafe861e9dffb1c1658e5b0983c5ef6 (diff) | |
download | rneovim-9eb0426002696fba4a7c5b9cadd8799a8ae18e6a.tar.gz rneovim-9eb0426002696fba4a7c5b9cadd8799a8ae18e6a.tar.bz2 rneovim-9eb0426002696fba4a7c5b9cadd8799a8ae18e6a.zip |
fix(luacats): allow all types inside tuples
Diffstat (limited to 'test/functional/script/luacats_grammar_spec.lua')
-rw-r--r-- | test/functional/script/luacats_grammar_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/script/luacats_grammar_spec.lua b/test/functional/script/luacats_grammar_spec.lua index d6fff3f409..9c6417f7bf 100644 --- a/test/functional/script/luacats_grammar_spec.lua +++ b/test/functional/script/luacats_grammar_spec.lua @@ -160,10 +160,10 @@ describe('luacats grammar', function() type = '`T`', }) - test('@param type [number,string] this is a tuple type', { + test('@param type [number,string,"good"|"bad"] this is a tuple type', { desc = 'this is a tuple type', kind = 'param', name = 'type', - type = '[number,string]', + type = '[number,string,"good"|"bad"]', }) end) |