summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/source/issue-3786.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/source/issue-3786.rs')
-rw-r--r--src/tools/rustfmt/tests/source/issue-3786.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/source/issue-3786.rs b/src/tools/rustfmt/tests/source/issue-3786.rs
new file mode 100644
index 000000000..54f8211ed
--- /dev/null
+++ b/src/tools/rustfmt/tests/source/issue-3786.rs
@@ -0,0 +1,12 @@
+fn main() {
+ let _ =
+r#"
+this is a very long string exceeded maximum width in this case maximum 100. (current this line width is about 115)
+"#;
+
+ let _with_newline =
+
+r#"
+this is a very long string exceeded maximum width in this case maximum 100. (current this line width is about 115)
+"#;
+}