Update tests
This commit is contained in:
parent
d9e31be40f
commit
70c69c6acd
@ -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(),
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -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";
|
||||
}
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user