Update tests

This commit is contained in:
Seiichi Uchida 2017-11-11 23:16:12 +09:00
parent d9e31be40f
commit 70c69c6acd
4 changed files with 4 additions and 9 deletions

View File

@ -3,9 +3,7 @@
// rustfmt should not add trailing comma when rewriting macro. See #1528.
fn a() {
panic!(
"this is a long string that goes past the maximum line length causing rustfmt to insert a comma here:"
);
panic!("this is a long string that goes past the maximum line length causing rustfmt to insert a comma here:");
foo(
a,
oooptoptoptoptptooptoptoptoptptooptoptoptoptptoptoptoptoptpt(),

View File

@ -5,6 +5,5 @@
// Force format strings
fn main() {
let lorem =
"ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit";
let lorem = "ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit";
}

View File

@ -4,6 +4,5 @@
// Force format strings
fn main() {
let lorem =
"ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit";
let lorem = "ipsum dolor sit amet consectetur adipiscing elit lorem ipsum dolor sit";
}

View File

@ -19,8 +19,7 @@ fn main() {
fn foo(a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32, a: i32) {
}
let str =
"AAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAa";
let str = "AAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAaAa";
if let (
some_very_large,