diff options
author | Aleksey Kladov <[email protected]> | 2017-12-31 11:02:55 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2017-12-31 11:03:29 +0000 |
commit | 2f24fb4f2c5d8708533a1b0155e1e884bd4b2ba2 (patch) | |
tree | a4ed4479231d2e5526618d9728d88fc3990b39e2 /tests/data/lexer | |
parent | f1a840cc385798fc2e3e9ac9ddb0dd57fd0ac509 (diff) |
Lexer: byte strings
Diffstat (limited to 'tests/data/lexer')
-rw-r--r-- | tests/data/lexer/0008_strings.rs | 1 | ||||
-rw-r--r-- | tests/data/lexer/0008_strings.txt | 7 |
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 @@ | |||
1 | BYTE 3 "b\'\'" | ||
2 | WHITESPACE 1 " " | ||
3 | BYTE 4 "b\'x\'" | ||
4 | WHITESPACE 1 " " | ||
5 | BYTE_STRING 6 "b\"foo\"" | ||
6 | WHITESPACE 1 " " | ||
7 | RAW_BYTE_STRING 4 "br\"\"" | ||