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:
21
spec/unsupported_lexers/ezhil/test_gcd_expr.txt
Normal file
21
spec/unsupported_lexers/ezhil/test_gcd_expr.txt
Normal file
@ -0,0 +1,21 @@
|
||||
---input---
|
||||
1^3+(5-5)*gcd(a,b)
|
||||
|
||||
---tokens---
|
||||
'1' Literal.Number.Integer
|
||||
'^' Operator
|
||||
'3' Literal.Number.Integer
|
||||
'+' Operator
|
||||
'(' Punctuation
|
||||
'5' Literal.Number.Integer
|
||||
'-' Operator
|
||||
'5' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
'*' Operator
|
||||
'gcd' Name
|
||||
'(' Punctuation
|
||||
'a' Name
|
||||
',' Operator
|
||||
'b' Name
|
||||
')' Punctuation
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user