diff options
author | Aleksey Kladov <[email protected]> | 2017-12-31 12:14:47 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2017-12-31 12:14:47 +0000 |
commit | d76d7d2a7426e34b0fb358029cbaa2d71f0118e8 (patch) | |
tree | 3b535fe53705ac554068b78c137c1ddf0420cc06 /tests | |
parent | b704eb708f5fd6440abc02eb52dbbfbd9feedaa6 (diff) |
Lexer: strings
Diffstat (limited to 'tests')
-rw-r--r-- | tests/data/lexer/0008_byte_strings.rs (renamed from tests/data/lexer/0008_strings.rs) | 0 | ||||
-rw-r--r-- | tests/data/lexer/0008_byte_strings.txt (renamed from tests/data/lexer/0008_strings.txt) | 0 | ||||
-rw-r--r-- | tests/data/lexer/0009_strings.rs | 1 | ||||
-rw-r--r-- | tests/data/lexer/0009_strings.txt | 4 |
4 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/lexer/0008_strings.rs b/tests/data/lexer/0008_byte_strings.rs index 9dd1570de..9dd1570de 100644 --- a/tests/data/lexer/0008_strings.rs +++ b/tests/data/lexer/0008_byte_strings.rs | |||
diff --git a/tests/data/lexer/0008_strings.txt b/tests/data/lexer/0008_byte_strings.txt index ed8cd4bab..ed8cd4bab 100644 --- a/tests/data/lexer/0008_strings.txt +++ b/tests/data/lexer/0008_byte_strings.txt | |||
diff --git a/tests/data/lexer/0009_strings.rs b/tests/data/lexer/0009_strings.rs new file mode 100644 index 000000000..7b7faa5d8 --- /dev/null +++ b/tests/data/lexer/0009_strings.rs | |||
@@ -0,0 +1 @@ | |||
"hello" r"world" | |||
diff --git a/tests/data/lexer/0009_strings.txt b/tests/data/lexer/0009_strings.txt new file mode 100644 index 000000000..7fb6b7b36 --- /dev/null +++ b/tests/data/lexer/0009_strings.txt | |||
@@ -0,0 +1,4 @@ | |||
1 | STRING 7 "\"hello\"" | ||
2 | WHITESPACE 1 " " | ||
3 | RAW_STRING 8 "r\"world\"" | ||
4 | WHITESPACE 1 "\n" | ||