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

Unified Diff: tests/language/function_subtype_inline1_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/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;
}
-}
+}

Powered by Google App Engine
This is Rietveld 408576698