aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/lexer/0008_strings.rs1
-rw-r--r--tests/data/lexer/0008_strings.txt7
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/data/lexer/0008_strings.rs b/tests/data/lexer/0008_strings.rs
new file mode 100644
index 000000000..1ffc7bb9d
--- /dev/null
+++ b/tests/data/lexer/0008_strings.rs
@@ -0,0 +1 @@
b'' b'x' b"foo" br"" \ No newline at end of file
diff --git a/tests/data/lexer/0008_strings.txt b/tests/data/lexer/0008_strings.txt
new file mode 100644
index 000000000..d4ff4b558
--- /dev/null
+++ b/tests/data/lexer/0008_strings.txt
@@ -0,0 +1,7 @@
1BYTE 3 "b\'\'"
2WHITESPACE 1 " "
3BYTE 4 "b\'x\'"
4WHITESPACE 1 " "
5BYTE_STRING 6 "b\"foo\""
6WHITESPACE 1 " "
7RAW_BYTE_STRING 4 "br\"\""