diff options
author | Veetaha <[email protected]> | 2020-02-01 20:25:01 +0000 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-02-03 22:00:55 +0000 |
commit | a3e5663ae0206270156fbeb926a174a40abbddb0 (patch) | |
tree | e0aa3bdcec597e81f022ac1ce388d42724a92f51 /crates/ra_syntax/test_data/lexer/ok/0003_ident.txt | |
parent | 9367b9a2920073a3f79fdff80dcc97d727f6ce17 (diff) |
ra_syntax: added tests for tokenization errors
Diffstat (limited to 'crates/ra_syntax/test_data/lexer/ok/0003_ident.txt')
-rw-r--r-- | crates/ra_syntax/test_data/lexer/ok/0003_ident.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crates/ra_syntax/test_data/lexer/ok/0003_ident.txt b/crates/ra_syntax/test_data/lexer/ok/0003_ident.txt new file mode 100644 index 000000000..4a0d5c053 --- /dev/null +++ b/crates/ra_syntax/test_data/lexer/ok/0003_ident.txt | |||
@@ -0,0 +1,14 @@ | |||
1 | IDENT 3 "foo" | ||
2 | WHITESPACE 1 " " | ||
3 | IDENT 4 "foo_" | ||
4 | WHITESPACE 1 " " | ||
5 | IDENT 4 "_foo" | ||
6 | WHITESPACE 1 " " | ||
7 | UNDERSCORE 1 "_" | ||
8 | WHITESPACE 1 " " | ||
9 | IDENT 2 "__" | ||
10 | WHITESPACE 1 " " | ||
11 | IDENT 1 "x" | ||
12 | WHITESPACE 1 " " | ||
13 | IDENT 12 "привет" | ||
14 | WHITESPACE 1 "\n" | ||