diff options
Diffstat (limited to 'src/tools/rustfmt/tests/target/issue-3270/one.rs')
-rw-r--r-- | src/tools/rustfmt/tests/target/issue-3270/one.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/tools/rustfmt/tests/target/issue-3270/one.rs b/src/tools/rustfmt/tests/target/issue-3270/one.rs new file mode 100644 index 000000000..78de94732 --- /dev/null +++ b/src/tools/rustfmt/tests/target/issue-3270/one.rs @@ -0,0 +1,12 @@ +// rustfmt-version: One + +pub fn main() { + /* let s = String::from( + " + hello + world + ", + ); */ + + assert_eq!(s, "\nhello\nworld\n"); +} |