aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-14 13:03:27 +0100
committerAleksey Kladov <[email protected]>2018-08-14 13:03:27 +0100
commit109658332a75ca91d6dc2bf573e0ab77fa5619ca (patch)
tree9227430826c75e184577623c25e54489b1033865 /crates/libsyntax2/tests
parent199e3b73c712a74e36bbb75eebf9e9418f1b1341 (diff)
Support raw strings in lexer
Diffstat (limited to 'crates/libsyntax2/tests')
-rw-r--r--crates/libsyntax2/tests/data/lexer/0013_raw_strings.rs1
-rw-r--r--crates/libsyntax2/tests/data/lexer/0013_raw_strings.txt2
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 @@
1RAW_STRING 36 "r###\"this is a r##\"raw\"## string\"###"
2WHITESPACE 1 "\n"