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:
17
spec/unsupported_lexers/peg/test_basic.txt
Normal file
17
spec/unsupported_lexers/peg/test_basic.txt
Normal file
@ -0,0 +1,17 @@
|
||||
---input---
|
||||
rule<-("terminal"/nonterminal/[cls])*
|
||||
|
||||
---tokens---
|
||||
'rule' Name.Class
|
||||
'<-' Operator
|
||||
'(' Punctuation
|
||||
'"terminal"' Literal.String.Double
|
||||
'/' Operator
|
||||
'nonterminal' Name.Class
|
||||
'/' Operator
|
||||
'[' Punctuation
|
||||
'cls' Literal.String
|
||||
']' Punctuation
|
||||
')' Punctuation
|
||||
'*' Operator
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user