Index: tests/language/cyclic_type2_test.dart |
diff --git a/tests/language/cyclic_type2_test.dart b/tests/language/cyclic_type2_test.dart |
index 84787c7beed20e374d06e791b0a0d376def701a6..c90cf23b09a0af854ed232e555f04d67d9738be3 100644 |
--- a/tests/language/cyclic_type2_test.dart |
+++ b/tests/language/cyclic_type2_test.dart |
@@ -11,21 +11,21 @@ class Base<U, V> { |
get v => V; |
} |
-class Derived1<U, V> extends Base<Derived1<U, V>, |
- Derived1<Derived2<V, U>, Derived2>> {} |
+class Derived1<U, V> |
+ extends Base<Derived1<U, V>, Derived1<Derived2<V, U>, Derived2>> {} |
-class Derived2<U, V> extends Base<Derived2<U, V>, |
- Derived2<Derived1<V, U>, Derived1>> {} |
+class Derived2<U, V> |
+ extends Base<Derived2<U, V>, Derived2<Derived1<V, U>, Derived1>> {} |
main() { |
var d = new Derived1<Derived1, Derived2>(); |
Expect.equals("Derived1<Derived1, Derived2>", d.u.toString()); |
- Expect.equals("Derived1<Derived2<Derived2, Derived1>, Derived2>", |
- d.v.toString()); |
+ Expect.equals( |
+ "Derived1<Derived2<Derived2, Derived1>, Derived2>", d.v.toString()); |
Expect.isTrue(d is Derived1<Derived1, Derived2>); |
Expect.isFalse(d is Derived1<Derived1, Derived1>); |
Expect.isTrue(d is Base<Derived1<Derived1, Derived2>, |
- Derived1<Derived2<Derived2, Derived1>, Derived2>>); |
+ Derived1<Derived2<Derived2, Derived1>, Derived2>>); |
Expect.isFalse(d is Base<Derived1<Derived1, Derived2>, |
- Derived1<Derived2<Derived2, Derived2>, Derived2>>); |
+ Derived1<Derived2<Derived2, Derived2>, Derived2>>); |
} |