summaryrefslogtreecommitdiffstats
path: root/src/tools/rustfmt/tests/target/issue-3786.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-3786.rs')
-rw-r--r--src/tools/rustfmt/tests/target/issue-3786.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3786.rs b/src/tools/rustfmt/tests/target/issue-3786.rs
new file mode 100644
index 000000000..d90cba15d
--- /dev/null
+++ b/src/tools/rustfmt/tests/target/issue-3786.rs
@@ -0,0 +1,9 @@
+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)
+"#;
+}