summaryrefslogtreecommitdiffstats
path: root/tests/snippets/teal/test_strings.txt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/snippets/teal/test_strings.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/snippets/teal/test_strings.txt b/tests/snippets/teal/test_strings.txt
new file mode 100644
index 0000000..4e32633
--- /dev/null
+++ b/tests/snippets/teal/test_strings.txt
@@ -0,0 +1,15 @@
+---input---
+a "abc\x123\n\"de//f"
+
+---tokens---
+'a' Name.Function
+' ' Text.Whitespace
+'"' Literal.String
+'abc' Literal.String
+'\\x12' Literal.String.Escape
+'3' Literal.String
+'\\n' Literal.String.Escape
+'\\"' Literal.String.Escape
+'de//f' Literal.String
+'"' Literal.String
+'\n' Text