mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-19 22:53:05 -03:00
Reorganize tests into a real spec suite
This commit is contained in:
46
spec/tests/python/test_fstring_19a.txt
Normal file
46
spec/tests/python/test_fstring_19a.txt
Normal file
@ -0,0 +1,46 @@
|
||||
---input---
|
||||
f'mapping is { {a:b for (a, b) in ((1, 2), (3, 4))} }'
|
||||
|
||||
---tokens---
|
||||
'f' Literal.String.Affix
|
||||
"'" Literal.String.Single
|
||||
'mapping is ' Literal.String.Single
|
||||
'{' Literal.String.Interpol
|
||||
' ' Text.Whitespace
|
||||
'{' Punctuation
|
||||
'a' Name
|
||||
':' Punctuation
|
||||
'b' Name
|
||||
' ' Text.Whitespace
|
||||
'for' Keyword
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'a' Name
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'b' Name
|
||||
')' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'in' Operator.Word
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'(' Punctuation
|
||||
'1' Literal.Number.Integer
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'2' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'(' Punctuation
|
||||
'3' Literal.Number.Integer
|
||||
',' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'4' Literal.Number.Integer
|
||||
')' Punctuation
|
||||
')' Punctuation
|
||||
'}' Punctuation
|
||||
' ' Text.Whitespace
|
||||
'}' Literal.String.Interpol
|
||||
"'" Literal.String.Single
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user