mirror of
https://github.com/neovim/neovim.git
synced 2025-12-16 03:15:39 +00:00
fix(luacats): allow all types inside tuples
This commit is contained in:
committed by
Lewis Russell
parent
f2083bd55c
commit
9eb0426002
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user