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

Unified Diff: tests/language/mixin_mixin3_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/mixin_mixin3_test.dart
diff --git a/tests/language/mixin_mixin3_test.dart b/tests/language/mixin_mixin3_test.dart
index 45bbd49e29d532ba21d25f7df8ed908272cd387b..ecdb2bd0d58df27e01879f9e3570ba4c472665f9 100644
--- a/tests/language/mixin_mixin3_test.dart
+++ b/tests/language/mixin_mixin3_test.dart
@@ -5,7 +5,9 @@
import "package:expect/expect.dart";
class M<T> {
- t() { return T; }
+ t() {
+ return T;
+ }
}
class A<U> = Object with M<List<U>>;
@@ -14,9 +16,9 @@ class B0 = Object with A<Set<bool>>;
class B1 = Object with A<Set<int>>;
-class C0 extends B0 { }
+class C0 extends B0 {}
-class C1 extends B1 { }
+class C1 extends B1 {}
class A2<K, V> = Object with M<Map<K, V>>;
@@ -24,19 +26,21 @@ class B2<V> = Object with A2<Set<V>, List<V>>;
class B3<K, V> = Object with A2<Set<K>, List<V>>;
-class C2<T> extends B2<T> { }
+class C2<T> extends B2<T> {}
-class C3<T> extends B3<T, int> { }
+class C3<T> extends B3<T, int> {}
class N {
- q() { return 42; }
+ q() {
+ return 42;
+ }
}
class O<U> = Object with N;
class P<K, V> = Object with O<V>;
-class Q<K, V> extends P<K, V> { }
+class Q<K, V> extends P<K, V> {}
main() {
Expect.equals("List<Set<bool>>", new C0().t().toString());

Powered by Google App Engine
This is Rietveld 408576698