summaryrefslogtreecommitdiffstats
path: root/tests/snippets/python/test_fstring_13b.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/snippets/python/test_fstring_13b.txt')
-rw-r--r--tests/snippets/python/test_fstring_13b.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/snippets/python/test_fstring_13b.txt b/tests/snippets/python/test_fstring_13b.txt
new file mode 100644
index 0000000..0a3aa56
--- /dev/null
+++ b/tests/snippets/python/test_fstring_13b.txt
@@ -0,0 +1,17 @@
+---input---
+f"""{d[0
+]}"""
+
+---tokens---
+'f' Literal.String.Affix
+'"""' Literal.String.Double
+'{' Literal.String.Interpol
+'d' Name
+'[' Punctuation
+'0' Literal.Number.Integer
+'\n' Text.Whitespace
+
+']' Punctuation
+'}' Literal.String.Interpol
+'"""' Literal.String.Double
+'\n' Text.Whitespace