aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2017-12-31 11:02:55 +0000
committerAleksey Kladov <[email protected]>2017-12-31 11:03:29 +0000
commit2f24fb4f2c5d8708533a1b0155e1e884bd4b2ba2 (patch)
treea4ed4479231d2e5526618d9728d88fc3990b39e2 /tests
parentf1a840cc385798fc2e3e9ac9ddb0dd57fd0ac509 (diff)
Lexer: byte strings
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\"\""