about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/issue-3270/two.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/source/issue-3270/two.rs')
-rw-r--r--src/tools/rustfmt/tests/source/issue-3270/two.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/source/issue-3270/two.rs b/src/tools/rustfmt/tests/source/issue-3270/two.rs
new file mode 100644
index 00000000000..0eb756471e7
--- /dev/null
+++ b/src/tools/rustfmt/tests/source/issue-3270/two.rs
@@ -0,0 +1,12 @@
+// rustfmt-version: Two
+
+pub fn main() {
+ /*   let s = String::from(
+        "
+hello
+world
+",
+    ); */
+
+    assert_eq!(s, "\nhello\nworld\n");
+}