Run rustfmt on tests
diff --git a/tests/test_generics.rs b/tests/test_generics.rs
index 822d22d..0cdce4e 100644
--- a/tests/test_generics.rs
+++ b/tests/test_generics.rs
@@ -8,42 +8,32 @@
 fn test_split_for_impl() {
     // <'a, 'b: 'a, #[may_dangle] T: 'a = ()> where T: Debug
     let generics = Generics {
-        lifetimes: vec![
-            LifetimeDef {
-                attrs: Vec::new(),
-                lifetime: Lifetime::new("'a"),
-                bounds: Vec::new(),
-            },
-            LifetimeDef {
-                attrs: Vec::new(),
-                lifetime: Lifetime::new("'b"),
-                bounds: vec![
-                    Lifetime::new("'a"),
-                ],
-            },
-        ],
-        ty_params: vec![
-            TyParam {
-                attrs: vec![
-                    Attribute {
-                        style: AttrStyle::Outer,
-                        value: MetaItem::Word("may_dangle".into()),
-                        is_sugared_doc: false,
-                    },
-                ],
-                ident: Ident::new("T"),
-                bounds: vec![
-                    TyParamBound::Region(Lifetime::new("'a")),
-                ],
-                default: Some(Ty::Tup(Vec::new())),
-            },
-        ],
+        lifetimes: vec![LifetimeDef {
+                            attrs: Vec::new(),
+                            lifetime: Lifetime::new("'a"),
+                            bounds: Vec::new(),
+                        },
+                        LifetimeDef {
+                            attrs: Vec::new(),
+                            lifetime: Lifetime::new("'b"),
+                            bounds: vec![Lifetime::new("'a")],
+                        }],
+        ty_params: vec![TyParam {
+                            attrs: vec![Attribute {
+                                            style: AttrStyle::Outer,
+                                            value: MetaItem::Word("may_dangle".into()),
+                                            is_sugared_doc: false,
+                                        }],
+                            ident: Ident::new("T"),
+                            bounds: vec![TyParamBound::Region(Lifetime::new("'a"))],
+                            default: Some(Ty::Tup(Vec::new())),
+                        }],
         where_clause: WhereClause {
-            predicates: vec![
-                WherePredicate::BoundPredicate(WhereBoundPredicate {
-                    bound_lifetimes: Vec::new(),
-                    bounded_ty: Ty::Path(None, "T".into()),
-                    bounds: vec![
+            predicates: vec![WherePredicate::BoundPredicate(WhereBoundPredicate {
+                                                                bound_lifetimes: Vec::new(),
+                                                                bounded_ty:
+                                                                    Ty::Path(None, "T".into()),
+                                                                bounds: vec![
                         TyParamBound::Trait(
                             PolyTraitRef {
                                 bound_lifetimes: Vec::new(),
@@ -52,8 +42,7 @@
                             TraitBoundModifier::None,
                         ),
                     ],
-                }),
-            ],
+                                                            })],
         },
     };
 
@@ -81,22 +70,18 @@
     assert_eq!(expected, parse_ty_param_bound(tokens.as_str()).unwrap());
 
     let tokens = quote!(Debug);
-    let expected = TyParamBound::Trait(
-        PolyTraitRef {
-            bound_lifetimes: Vec::new(),
-            trait_ref: "Debug".into(),
-        },
-        TraitBoundModifier::None,
-    );
+    let expected = TyParamBound::Trait(PolyTraitRef {
+                                           bound_lifetimes: Vec::new(),
+                                           trait_ref: "Debug".into(),
+                                       },
+                                       TraitBoundModifier::None);
     assert_eq!(expected, parse_ty_param_bound(tokens.as_str()).unwrap());
 
     let tokens = quote!(?Sized);
-    let expected = TyParamBound::Trait(
-        PolyTraitRef {
-            bound_lifetimes: Vec::new(),
-            trait_ref: "Sized".into(),
-        },
-        TraitBoundModifier::Maybe,
-    );
+    let expected = TyParamBound::Trait(PolyTraitRef {
+                                           bound_lifetimes: Vec::new(),
+                                           trait_ref: "Sized".into(),
+                                       },
+                                       TraitBoundModifier::Maybe);
     assert_eq!(expected, parse_ty_param_bound(tokens.as_str()).unwrap());
 }