From 6d78bd5fdc5c5ade539e221d7e91603538199452 Mon Sep 17 00:00:00 2001 From: Seiichi Uchida Date: Sat, 9 Dec 2017 20:21:34 +0900 Subject: [PATCH] Add a test for error_on_line_overflow_strings --- .../configs-error_on_line_overflow_strings-false.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/target/configs-error_on_line_overflow_strings-false.rs diff --git a/tests/target/configs-error_on_line_overflow_strings-false.rs b/tests/target/configs-error_on_line_overflow_strings-false.rs new file mode 100644 index 00000000000..b5922745cf2 --- /dev/null +++ b/tests/target/configs-error_on_line_overflow_strings-false.rs @@ -0,0 +1,9 @@ +// rustfmt-error_on_line_overflow_strings: false +// Suppress an error on line overflow strings. + +fn main() { + let x = " "; + let a = " + +"; +}