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:
42
spec/unsupported_lexers/csound/test_instrument_blocks.txt
Normal file
42
spec/unsupported_lexers/csound/test_instrument_blocks.txt
Normal file
@ -0,0 +1,42 @@
|
||||
---input---
|
||||
instr/**/1,/**/N_a_M_e_,/**/+Name/**///
|
||||
iDuration = p3
|
||||
outc:a(aSignal)
|
||||
endin
|
||||
|
||||
---tokens---
|
||||
'instr' Keyword.Declaration
|
||||
'/**/' Comment.Multiline
|
||||
'1' Name.Function
|
||||
',' Punctuation
|
||||
'/**/' Comment.Multiline
|
||||
'N_a_M_e_' Name.Function
|
||||
',' Punctuation
|
||||
'/**/' Comment.Multiline
|
||||
'+' Punctuation
|
||||
'Name' Name.Function
|
||||
'/**/' Comment.Multiline
|
||||
'//' Comment.Single
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'i' Keyword.Type
|
||||
'Duration' Name
|
||||
' ' Text.Whitespace
|
||||
'=' Operator
|
||||
' ' Text.Whitespace
|
||||
'p3' Name.Variable.Instance
|
||||
'\n' Text.Whitespace
|
||||
|
||||
' ' Text.Whitespace
|
||||
'outc' Name.Builtin
|
||||
':' Punctuation
|
||||
'a' Keyword.Type
|
||||
'(' Punctuation
|
||||
'a' Keyword.Type
|
||||
'Signal' Name
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
||||
|
||||
'endin' Keyword.Declaration
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user