diff options
Diffstat (limited to 'crates/libsyntax2/tests/data/lexer')
-rw-r--r-- | crates/libsyntax2/tests/data/lexer/0006_chars.rs | 2 | ||||
-rw-r--r-- | crates/libsyntax2/tests/data/lexer/0006_chars.txt | 10 |
2 files changed, 11 insertions, 1 deletions
diff --git a/crates/libsyntax2/tests/data/lexer/0006_chars.rs b/crates/libsyntax2/tests/data/lexer/0006_chars.rs index 03598d908..454ee0a5f 100644 --- a/crates/libsyntax2/tests/data/lexer/0006_chars.rs +++ b/crates/libsyntax2/tests/data/lexer/0006_chars.rs | |||
@@ -1 +1 @@ | |||
'x' ' ' '0' | 'x' ' ' '0' 'hello' '\x7f' '\n' '\\' '\'' | ||
diff --git a/crates/libsyntax2/tests/data/lexer/0006_chars.txt b/crates/libsyntax2/tests/data/lexer/0006_chars.txt index ecaf22355..950954fbc 100644 --- a/crates/libsyntax2/tests/data/lexer/0006_chars.txt +++ b/crates/libsyntax2/tests/data/lexer/0006_chars.txt | |||
@@ -3,4 +3,14 @@ WHITESPACE 1 " " | |||
3 | CHAR 3 "\' \'" | 3 | CHAR 3 "\' \'" |
4 | WHITESPACE 1 " " | 4 | WHITESPACE 1 " " |
5 | CHAR 3 "\'0\'" | 5 | CHAR 3 "\'0\'" |
6 | WHITESPACE 1 " " | ||
7 | CHAR 7 "\'hello\'" | ||
8 | WHITESPACE 1 " " | ||
9 | CHAR 6 "\'\\x7f\'" | ||
10 | WHITESPACE 1 " " | ||
11 | CHAR 4 "\'\\n\'" | ||
12 | WHITESPACE 1 " " | ||
13 | CHAR 4 "\'\\\\\'" | ||
14 | WHITESPACE 1 " " | ||
15 | CHAR 4 "\'\\\'\'" | ||
6 | WHITESPACE 1 "\n" | 16 | WHITESPACE 1 "\n" |