Reorganize tests into a real spec suite

This commit is contained in:
2024-08-04 19:18:43 -03:00
parent 57c160173c
commit e7c2053222
693 changed files with 136 additions and 116 deletions

View 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