From b704eb708f5fd6440abc02eb52dbbfbd9feedaa6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Sun, 31 Dec 2017 14:10:18 +0300 Subject: Lexer: byte strings sufixes --- tests/data/lexer/0008_strings.rs | 3 ++- tests/data/lexer/0008_strings.txt | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'tests') 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 @@ -b'' b'x' b"foo" br"" \ No newline at end of file +b'' b'x' b"foo" br"" +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 " " BYTE_STRING 6 "b\"foo\"" WHITESPACE 1 " " RAW_BYTE_STRING 4 "br\"\"" +WHITESPACE 1 "\n" +BYTE 6 "b\'\'suf" +WHITESPACE 1 " " +BYTE_STRING 5 "b\"\"ix" +WHITESPACE 1 " " +RAW_BYTE_STRING 6 "br\"\"br" +WHITESPACE 1 "\n" -- cgit v1.2.3