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:
40
spec/unsupported_lexers/csound/test_function_like_macros.txt
Normal file
40
spec/unsupported_lexers/csound/test_function_like_macros.txt
Normal file
@ -0,0 +1,40 @@
|
||||
---input---
|
||||
$MACRO.(((x#y\)))' "(#'x)\)x\))"# {{x\))x)\)(#'}});
|
||||
|
||||
---tokens---
|
||||
'$MACRO.' Comment.Preproc
|
||||
'(' Punctuation
|
||||
'(' Comment.Preproc
|
||||
'(' Comment.Preproc
|
||||
'x#y\\)' Comment.Preproc
|
||||
')' Comment.Preproc
|
||||
')' Comment.Preproc
|
||||
"'" Punctuation
|
||||
' ' Comment.Preproc
|
||||
'"' Literal.String
|
||||
'(' Error
|
||||
'#' Error
|
||||
"'" Error
|
||||
'x' Literal.String
|
||||
')' Error
|
||||
'\\)' Comment.Preproc
|
||||
'x' Literal.String
|
||||
'\\)' Comment.Preproc
|
||||
')' Error
|
||||
'"' Literal.String
|
||||
'#' Punctuation
|
||||
' ' Comment.Preproc
|
||||
'{{' Literal.String
|
||||
'x' Literal.String
|
||||
'\\)' Comment.Preproc
|
||||
')' Error
|
||||
'x' Literal.String
|
||||
')' Error
|
||||
'\\)' Comment.Preproc
|
||||
'(' Error
|
||||
'#' Error
|
||||
"'" Error
|
||||
'}}' Literal.String
|
||||
')' Punctuation
|
||||
';' Comment.Single
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user