mirror of
https://github.com/ralsina/tartrazine.git
synced 2025-06-28 11:00:59 -03:00
Imported test cases from pygments
This commit is contained in:
15
tests/python/test_fstring_29a.txt
Normal file
15
tests/python/test_fstring_29a.txt
Normal file
@ -0,0 +1,15 @@
|
||||
---input---
|
||||
f"{math.pi=!f:.2f}"
|
||||
|
||||
---tokens---
|
||||
'f' Literal.String.Affix
|
||||
'"' Literal.String.Double
|
||||
'{' Literal.String.Interpol
|
||||
'math' Name
|
||||
'.' Operator
|
||||
'pi' Name
|
||||
'=!f:' Literal.String.Interpol
|
||||
'.2f' Literal.String.Double
|
||||
'}' Literal.String.Interpol
|
||||
'"' Literal.String.Double
|
||||
'\n' Text.Whitespace
|
Reference in New Issue
Block a user