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:
20
spec/tests/python/test_fstring_14b.txt
Normal file
20
spec/tests/python/test_fstring_14b.txt
Normal file
@ -0,0 +1,20 @@
|
||||
---input---
|
||||
f"result: {value:{width}.{precision}}"
|
||||
|
||||
---tokens---
|
||||
'f' Literal.String.Affix
|
||||
'"' Literal.String.Double
|
||||
'result: ' Literal.String.Double
|
||||
'{' Literal.String.Interpol
|
||||
'value' Name
|
||||
':' Literal.String.Interpol
|
||||
'{' Literal.String.Interpol
|
||||
'width' Name
|
||||
'}' Literal.String.Interpol
|
||||
'.' Literal.String.Double
|
||||
'{' Literal.String.Interpol
|
||||
'precision' Name
|
||||
'}' Literal.String.Interpol
|
||||
'}' Literal.String.Interpol
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user