From 697e9485f7d6fc484fd05d24816314c07a59e9bb Mon Sep 17 00:00:00 2001
From: Seiichi Uchida <seuchida@gmail.com>
Date: Wed, 2 Aug 2017 23:28:52 +0900
Subject: [PATCH] Update tests

---
 tests/target/trailing_commas.rs |  3 ++-
 tests/target/type_alias.rs      | 18 ++++++++++++------
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/tests/target/trailing_commas.rs b/tests/target/trailing_commas.rs
index 93fcc0f2cb1..61b82035450 100644
--- a/tests/target/trailing_commas.rs
+++ b/tests/target/trailing_commas.rs
@@ -66,7 +66,8 @@ type Double<
     T,
 > where
     T: P,
-    T: Q = Pair<
+    T: Q,
+= Pair<
     T, T,
 >;
 
diff --git a/tests/target/type_alias.rs b/tests/target/type_alias.rs
index cac1ac466cd..97a88bb6372 100644
--- a/tests/target/type_alias.rs
+++ b/tests/target/type_alias.rs
@@ -52,15 +52,21 @@ pub type CommentTest<
 > = ();
 
 
-pub type WithWhereClause<LONGPARAMETERNAME, T> where
+pub type WithWhereClause<LONGPARAMETERNAME, T>
+where
     T: Clone,
-    LONGPARAMETERNAME: Clone + Eq + OtherTrait = Option<T>;
+    LONGPARAMETERNAME: Clone + Eq + OtherTrait,
+= Option<T>;
 
-pub type Exactly100CharstoEqualWhereTest<T, U, PARAMET> where
-    T: Clone + Ord + Eq + SomeOtherTrait = Option<T>;
+pub type Exactly100CharstoEqualWhereTest<T, U, PARAMET>
+where
+    T: Clone + Ord + Eq + SomeOtherTrait,
+= Option<T>;
 
-pub type Exactly101CharstoEqualWhereTest<T, U, PARAMETE> where
-    T: Clone + Ord + Eq + SomeOtherTrait = Option<T>;
+pub type Exactly101CharstoEqualWhereTest<T, U, PARAMETE>
+where
+    T: Clone + Ord + Eq + SomeOtherTrait,
+= Option<T>;
 
 type RegisterPlugin = unsafe fn(pt: *const c_char, plugin: *mut c_void, data: *mut CallbackData);