aboutsummaryrefslogtreecommitdiffstats
path: root/tests/indent/rust/string.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/indent/rust/string.rs')
-rw-r--r--tests/indent/rust/string.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/indent/rust/string.rs b/tests/indent/rust/string.rs
new file mode 100644
index 000000000..4d60663dd
--- /dev/null
+++ b/tests/indent/rust/string.rs
@@ -0,0 +1,12 @@
+fn foo() {
+ let a = "hello
+world";
+
+ let b = "hello\
+ world";
+
+ let c = r#"
+ hello
+ world
+ "#;
+}