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

Unified Diff: tests/language_strong/generics3_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_strong/generics3_test.dart
diff --git a/tests/language_strong/generics3_test.dart b/tests/language_strong/generics3_test.dart
index cbc2271433d36ed592692bf880de85cd4074003f..0a25732ddc0322364bab0c5a017717e6427d7d01 100644
--- a/tests/language_strong/generics3_test.dart
+++ b/tests/language_strong/generics3_test.dart
@@ -6,10 +6,18 @@
// Regression test for issue 8710.
class C1<T> {}
+
class C2<T> {}
+
class C3<T> extends C2<C1<T>> {}
-class C4<T> extends C3<T> { f() => new C5<C1<T>>(new C1<T>()); }
-class C5<T> { C5(T x); } // Checked mode: x must be of type C1<String>.
+
+class C4<T> extends C3<T> {
+ f() => new C5<C1<T>>(new C1<T>());
+}
+
+class C5<T> {
+ C5(T x);
+} // Checked mode: x must be of type C1<String>.
main() {
new C4<String>().f();

Powered by Google App Engine
This is Rietveld 408576698