Index: tests/language/function_subtype_inline1_test.dart |
diff --git a/tests/language/function_subtype_inline1_test.dart b/tests/language/function_subtype_inline1_test.dart |
index 74491db50a6f0e7bfbde613792fce2510a481b9b..90103d544b2993d5683d6f325f5bc007ae566dbb 100644 |
--- a/tests/language/function_subtype_inline1_test.dart |
+++ b/tests/language/function_subtype_inline1_test.dart |
@@ -8,15 +8,17 @@ |
import 'package:expect/expect.dart'; |
class A {} |
+ |
class B extends A {} |
+ |
class C extends A {} |
-class Class<K,V> { |
+class Class<K, V> { |
void forEach(void f(K k, V v)) {} |
} |
main() { |
- Class<B,C> c = new Class<B,C>(); |
+ Class<B, C> c = new Class<B, C>(); |
c.forEach((A a, A b) {}); |
c.forEach((B a, C b) {}); |
try { |
@@ -27,7 +29,6 @@ main() { |
} |
} |
- |
isCheckedMode() { |
try { |
var i = 1; |
@@ -36,4 +37,4 @@ isCheckedMode() { |
} catch (e) { |
return true; |
} |
-} |
+} |