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

Unified Diff: tests/language_strong/generic_field_mixin5_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/generic_field_mixin5_test.dart
diff --git a/tests/language_strong/generic_field_mixin5_test.dart b/tests/language_strong/generic_field_mixin5_test.dart
index c51ed5a35a77a9b92e053bc96eef1afeddaf5f55..a684903b361f6c6a97ccba947c69cba334cc8d37 100644
--- a/tests/language_strong/generic_field_mixin5_test.dart
+++ b/tests/language_strong/generic_field_mixin5_test.dart
@@ -7,9 +7,13 @@
import 'package:expect/expect.dart';
class M<T> {
- Type field = () { return T; } ();
+ Type field = () {
+ return T;
+ }();
}
+
class A<U> {}
+
class C1<V> = Object with M<V>;
class C2 = Object with M<int>;
class C3 = Object with M<String>;
@@ -21,4 +25,4 @@ main() {
Expect.equals(int, new C2().field);
Expect.equals(String, new C3().field);
-}
+}

Powered by Google App Engine
This is Rietveld 408576698