aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/lexer/ok
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/test_data/lexer/ok')
-rw-r--r--crates/syntax/test_data/lexer/ok/0006_chars.txt16
-rw-r--r--crates/syntax/test_data/lexer/ok/0007_lifetimes.txt8
-rw-r--r--crates/syntax/test_data/lexer/ok/0008_byte_strings.txt14
3 files changed, 19 insertions, 19 deletions
diff --git a/crates/syntax/test_data/lexer/ok/0006_chars.txt b/crates/syntax/test_data/lexer/ok/0006_chars.txt
index 950954fbc..756477dc9 100644
--- a/crates/syntax/test_data/lexer/ok/0006_chars.txt
+++ b/crates/syntax/test_data/lexer/ok/0006_chars.txt
@@ -1,16 +1,16 @@
1CHAR 3 "\'x\'" 1CHAR 3 "'x'"
2WHITESPACE 1 " " 2WHITESPACE 1 " "
3CHAR 3 "\' \'" 3CHAR 3 "' '"
4WHITESPACE 1 " " 4WHITESPACE 1 " "
5CHAR 3 "\'0\'" 5CHAR 3 "'0'"
6WHITESPACE 1 " " 6WHITESPACE 1 " "
7CHAR 7 "\'hello\'" 7CHAR 7 "'hello'"
8WHITESPACE 1 " " 8WHITESPACE 1 " "
9CHAR 6 "\'\\x7f\'" 9CHAR 6 "'\\x7f'"
10WHITESPACE 1 " " 10WHITESPACE 1 " "
11CHAR 4 "\'\\n\'" 11CHAR 4 "'\\n'"
12WHITESPACE 1 " " 12WHITESPACE 1 " "
13CHAR 4 "\'\\\\\'" 13CHAR 4 "'\\\\'"
14WHITESPACE 1 " " 14WHITESPACE 1 " "
15CHAR 4 "\'\\\'\'" 15CHAR 4 "'\\''"
16WHITESPACE 1 "\n" 16WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt b/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt
index 4d6625c3a..32ed9ed50 100644
--- a/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt
+++ b/crates/syntax/test_data/lexer/ok/0007_lifetimes.txt
@@ -1,8 +1,8 @@
1LIFETIME_IDENT 2 "\'a" 1LIFETIME_IDENT 2 "'a"
2WHITESPACE 1 " " 2WHITESPACE 1 " "
3LIFETIME_IDENT 4 "\'foo" 3LIFETIME_IDENT 4 "'foo"
4WHITESPACE 1 " " 4WHITESPACE 1 " "
5LIFETIME_IDENT 12 "\'foo_bar_baz" 5LIFETIME_IDENT 12 "'foo_bar_baz"
6WHITESPACE 1 " " 6WHITESPACE 1 " "
7LIFETIME_IDENT 2 "\'_" 7LIFETIME_IDENT 2 "'_"
8WHITESPACE 1 "\n" 8WHITESPACE 1 "\n"
diff --git a/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt b/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt
index e61ad99be..06d6bdd1f 100644
--- a/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt
+++ b/crates/syntax/test_data/lexer/ok/0008_byte_strings.txt
@@ -1,22 +1,22 @@
1BYTE 3 "b\'\'" 1BYTE 3 "b''"
2WHITESPACE 1 " " 2WHITESPACE 1 " "
3BYTE 4 "b\'x\'" 3BYTE 4 "b'x'"
4WHITESPACE 1 " " 4WHITESPACE 1 " "
5BYTE_STRING 6 "b\"foo\"" 5BYTE_STRING 6 "b\"foo\""
6WHITESPACE 1 " " 6WHITESPACE 1 " "
7BYTE_STRING 4 "br\"\"" 7BYTE_STRING 4 "br\"\""
8WHITESPACE 1 "\n" 8WHITESPACE 1 "\n"
9BYTE 6 "b\'\'suf" 9BYTE 6 "b''suf"
10WHITESPACE 1 " " 10WHITESPACE 1 " "
11BYTE_STRING 5 "b\"\"ix" 11BYTE_STRING 5 "b\"\"ix"
12WHITESPACE 1 " " 12WHITESPACE 1 " "
13BYTE_STRING 6 "br\"\"br" 13BYTE_STRING 6 "br\"\"br"
14WHITESPACE 1 "\n" 14WHITESPACE 1 "\n"
15BYTE 5 "b\'\\n\'" 15BYTE 5 "b'\\n'"
16WHITESPACE 1 " " 16WHITESPACE 1 " "
17BYTE 5 "b\'\\\\\'" 17BYTE 5 "b'\\\\'"
18WHITESPACE 1 " " 18WHITESPACE 1 " "
19BYTE 5 "b\'\\\'\'" 19BYTE 5 "b'\\''"
20WHITESPACE 1 " " 20WHITESPACE 1 " "
21BYTE 8 "b\'hello\'" 21BYTE 8 "b'hello'"
22WHITESPACE 1 "\n" 22WHITESPACE 1 "\n"