summaryrefslogtreecommitdiff
path: root/tests/snippets/python/test_fstring_30b.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/python/test_fstring_30b.txt')
-rw-r--r--tests/snippets/python/test_fstring_30b.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/snippets/python/test_fstring_30b.txt b/tests/snippets/python/test_fstring_30b.txt
new file mode 100644
index 00000000..10a2af8e
--- /dev/null
+++ b/tests/snippets/python/test_fstring_30b.txt
@@ -0,0 +1,16 @@
+---input---
+f'{ chr(65) =}'
+
+---tokens---
+'f' Literal.String.Affix
+"'" Literal.String.Single
+'{' Literal.String.Interpol
+' ' Text
+'chr' Name.Builtin
+'(' Punctuation
+'65' Literal.Number.Integer
+')' Punctuation
+' ' Text
+'=}' Literal.String.Interpol
+"'" Literal.String.Single
+'\n' Text