diff options
author | Aleksey Kladov <[email protected]> | 2017-12-31 11:10:18 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2017-12-31 11:10:18 +0000 |
commit | b704eb708f5fd6440abc02eb52dbbfbd9feedaa6 (patch) | |
tree | ec4ca5e41c7f1e09e998a1f402967721264f08c9 /tests | |
parent | 2f24fb4f2c5d8708533a1b0155e1e884bd4b2ba2 (diff) |
Lexer: byte strings sufixes
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/lexer/0008_strings.rs | 3 | ||||
-rw-r--r-- | tests/data/lexer/0008_strings.txt | 7 |
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/data/lexer/0008_strings.rs b/tests/data/lexer/0008_strings.rs index 1ffc7bb9d..9dd1570de 100644 --- a/tests/data/lexer/0008_strings.rs +++ b/tests/data/lexer/0008_strings.rs | |||
@@ -1 +1,2 @@ | |||
1 | b'' b'x' b"foo" br"" \ No newline at end of file | 1 | b'' b'x' b"foo" br"" |
2 | b''suf b""ix br""br | ||
diff --git a/tests/data/lexer/0008_strings.txt b/tests/data/lexer/0008_strings.txt index d4ff4b558..ed8cd4bab 100644 --- a/tests/data/lexer/0008_strings.txt +++ b/tests/data/lexer/0008_strings.txt | |||
@@ -5,3 +5,10 @@ WHITESPACE 1 " " | |||
5 | BYTE_STRING 6 "b\"foo\"" | 5 | BYTE_STRING 6 "b\"foo\"" |
6 | WHITESPACE 1 " " | 6 | WHITESPACE 1 " " |
7 | RAW_BYTE_STRING 4 "br\"\"" | 7 | RAW_BYTE_STRING 4 "br\"\"" |
8 | WHITESPACE 1 "\n" | ||
9 | BYTE 6 "b\'\'suf" | ||
10 | WHITESPACE 1 " " | ||
11 | BYTE_STRING 5 "b\"\"ix" | ||
12 | WHITESPACE 1 " " | ||
13 | RAW_BYTE_STRING 6 "br\"\"br" | ||
14 | WHITESPACE 1 "\n" | ||