diff --git a/tests/target/chains-visual.rs b/tests/target/chains-visual.rs
index e88c08fb932..d2cf993b10c 100644
--- a/tests/target/chains-visual.rs
+++ b/tests/target/chains-visual.rs
@@ -10,8 +10,7 @@ fn main() {
              .1
              .foo(|x| x + 1);
 
-    bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc
-                       .ddddddddddddddddddddddddddd();
+    bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc.ddddddddddddddddddddddddddd();
 
     bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc
                        .ddddddddddddddddddddddddddd
@@ -50,9 +49,7 @@ fn main() {
     });
 
     let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum =
-        xxxxxxx.map(|x| x + 5)
-               .map(|x| x / 2)
-               .fold(0, |acc, x| acc + x);
+        xxxxxxx.map(|x| x + 5).map(|x| x / 2).fold(0, |acc, x| acc + x);
 
     aaaaaaaaaaaaaaaa.map(|x| {
                              x += 1;
@@ -128,8 +125,7 @@ fn floaters() {
 }
 
 fn is_replaced_content() -> bool {
-    constellat.send(ConstellationMsg::ViewportConstrained(self.id, constraints))
-              .unwrap();
+    constellat.send(ConstellationMsg::ViewportConstrained(self.id, constraints)).unwrap();
 }
 
 fn issue587() {
diff --git a/tests/target/chains.rs b/tests/target/chains.rs
index c7fdd3076e4..6263fac10e8 100644
--- a/tests/target/chains.rs
+++ b/tests/target/chains.rs
@@ -9,8 +9,7 @@ fn main() {
         .1
         .foo(|x| x + 1);
 
-    bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc
-        .ddddddddddddddddddddddddddd();
+    bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc.ddddddddddddddddddddddddddd();
 
     bbbbbbbbbbbbbbbbbbb.ccccccccccccccccccccccccccccccccccccc
         .ddddddddddddddddddddddddddd
@@ -48,9 +47,8 @@ fn main() {
         SCRIPT_TASK_ROOT.with(|root| { *root.borrow_mut() = Some(&script_task); });
     });
 
-    let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum = xxxxxxx.map(|x| x + 5)
-        .map(|x| x / 2)
-        .fold(0, |acc, x| acc + x);
+    let suuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuum =
+        xxxxxxx.map(|x| x + 5).map(|x| x / 2).fold(0, |acc, x| acc + x);
 
     aaaaaaaaaaaaaaaa.map(|x| {
                              x += 1;
@@ -126,8 +124,7 @@ fn floaters() {
 }
 
 fn is_replaced_content() -> bool {
-    constellat.send(ConstellationMsg::ViewportConstrained(self.id, constraints))
-        .unwrap();
+    constellat.send(ConstellationMsg::ViewportConstrained(self.id, constraints)).unwrap();
 }
 
 fn issue587() {
@@ -139,10 +136,26 @@ fn issue587() {
 fn try_shorthand() {
     let x = expr?;
     let y = expr.kaas()?.test();
-    let loooooooooooooooooooooooooooooooooooooooooong =
-        does_this?.look?.good?.should_we_break?.after_the_first_question_mark?;
-    let yyyy = expr?.another?.another?.another?.another?.another?.another?.another?.another?.test();
-    let zzzz = expr?.another?.another?.another?.another?;
+    let loooooooooooooooooooooooooooooooooooooooooong = does_this?
+        .look?
+        .good?
+        .should_we_break?
+        .after_the_first_question_mark?;
+    let yyyy = expr?
+        .another?
+        .another?
+        .another?
+        .another?
+        .another?
+        .another?
+        .another?
+        .another?
+        .test();
+    let zzzz = expr?
+        .another?
+        .another?
+        .another?
+        .another?;
     let aaa = x??????????????????????????????????????????????????????????????????????????;
 
     let y = a.very
diff --git a/tests/target/expr.rs b/tests/target/expr.rs
index 025afa4c38a..2d9f0e6ad10 100644
--- a/tests/target/expr.rs
+++ b/tests/target/expr.rs
@@ -291,7 +291,7 @@ fn issue1106() {
             self.ast_map.expect_item(enum_node_id).node {}
     }
 
-    for entry in WalkDir::new(path)
-            .into_iter()
-            .filter_entry(|entry| exclusions.filter_entry(entry)) {}
+    for entry in WalkDir::new(path).into_iter().filter_entry(|entry| {
+        exclusions.filter_entry(entry)
+    }) {}
 }
diff --git a/tests/target/hard-tabs.rs b/tests/target/hard-tabs.rs
index d0f25c0ad3a..7fbeb88c4f5 100644
--- a/tests/target/hard-tabs.rs
+++ b/tests/target/hard-tabs.rs
@@ -83,9 +83,7 @@ fn main() {
 	fffffffffffffffffffffffffffffffffff(a, {
 		SCRIPT_TASK_ROOT.with(|root| { *root.borrow_mut() = Some(&script_task); });
 	});
-	a.b
-		.c
-		.d();
+	a.b.c.d();
 
 	x().y(|| match cond() {
 	          true => (),