Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Unified Diff: tests/language/cyclic_type2_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>>);
}

Powered by Google App Engine
This is Rietveld 408576698