diff options
author | Aleksey Kladov <[email protected]> | 2018-08-14 13:03:27 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-14 13:03:27 +0100 |
commit | 109658332a75ca91d6dc2bf573e0ab77fa5619ca (patch) | |
tree | 9227430826c75e184577623c25e54489b1033865 /crates/libsyntax2/tests | |
parent | 199e3b73c712a74e36bbb75eebf9e9418f1b1341 (diff) |
Support raw strings in lexer
Diffstat (limited to 'crates/libsyntax2/tests')
-rw-r--r-- | crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs | 1 | ||||
-rw-r--r-- | crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs new file mode 100644 index 000000000..e5ed0b693 --- /dev/null +++ b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs | |||
@@ -0,0 +1 @@ | |||
r###"this is a r##"raw"## string"### | |||
diff --git a/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt new file mode 100644 index 000000000..9cf0957d1 --- /dev/null +++ b/crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt | |||
@@ -0,0 +1,2 @@ | |||
1 | RAW_STRING 36 "r###\"this is a r##\"raw\"## string\"###" | ||
2 | WHITESPACE 1 "\n" | ||