aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/data/lexer
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/tests/data/lexer')
-rw-r--r--crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs1
-rw-r--r--crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt8
2 files changed, 9 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs b/crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs
index 9dd1570de..b54930f5e 100644
--- a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs
+++ b/crates/libsyntax2/tests/data/lexer/0008_byte_strings.rs
@@ -1,2 +1,3 @@
1b'' b'x' b"foo" br"" 1b'' b'x' b"foo" br""
2b''suf b""ix br""br 2b''suf b""ix br""br
3b'\n' b'\\' b'\'' b'hello'
diff --git a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt b/crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt
index ed8cd4bab..bc03b51a8 100644
--- a/crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt
+++ b/crates/libsyntax2/tests/data/lexer/0008_byte_strings.txt
@@ -12,3 +12,11 @@ BYTE_STRING 5 "b\"\"ix"
12WHITESPACE 1 " " 12WHITESPACE 1 " "
13RAW_BYTE_STRING 6 "br\"\"br" 13RAW_BYTE_STRING 6 "br\"\"br"
14WHITESPACE 1 "\n" 14WHITESPACE 1 "\n"
15BYTE 5 "b\'\\n\'"
16WHITESPACE 1 " "
17BYTE 5 "b\'\\\\\'"
18WHITESPACE 1 " "
19BYTE 5 "b\'\\\'\'"
20WHITESPACE 1 " "
21BYTE 8 "b\'hello\'"
22WHITESPACE 1 "\n"