mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-20 07:03:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
24
spec/unsupported_lexers/csound/test_user_defined_opcodes.txt
Normal file
24
spec/unsupported_lexers/csound/test_user_defined_opcodes.txt
Normal file
@ -0,0 +1,24 @@
|
||||
---input---
|
||||
opcode/**/aUDO,/**/i[],/**/aik//
|
||||
aUDO
|
||||
endop
|
||||
|
||||
---tokens---
|
||||
'opcode' Keyword.Declaration
|
||||
'/**/' Comment.Multiline
|
||||
'aUDO' Name.Function
|
||||
',' Punctuation
|
||||
'/**/' Comment.Multiline
|
||||
'i[]' Keyword.Type
|
||||
',' Punctuation
|
||||
'/**/' Comment.Multiline
|
||||
'aik' Keyword.Type
|
||||
'//' Comment.Single
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'aUDO' Name.Function
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'endop' Keyword.Declaration
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user