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

Unified Diff: tests/language_strong/function_subtype_inline2_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/function_subtype_inline2_test.dart
diff --git a/tests/language_strong/function_subtype_inline2_test.dart b/tests/language_strong/function_subtype_inline2_test.dart
index 8fc615e2104a553fdfaa55e4bb05d57234e3544e..546d628443529e6c85d8e97543098a6b2fee912d 100644
--- a/tests/language_strong/function_subtype_inline2_test.dart
+++ b/tests/language_strong/function_subtype_inline2_test.dart
@@ -19,14 +19,10 @@ class C {
}
void test(var f, String constructorName) {
- testDynamicTypeError(false, () => f(m1),
- "'new C.$constructorName(m1)'");
- testDynamicTypeError(true, () => f(m2),
- "'new C.$constructorName(m2)'");
- testDynamicTypeError(false, () => f(m3),
- "'new C.$constructorName(m3)'");
- testDynamicTypeError(true, () => f(m4),
- "'new C.$constructorName(m4)'");
+ testDynamicTypeError(false, () => f(m1), "'new C.$constructorName(m1)'");
+ testDynamicTypeError(true, () => f(m2), "'new C.$constructorName(m2)'");
+ testDynamicTypeError(false, () => f(m3), "'new C.$constructorName(m3)'");
+ testDynamicTypeError(true, () => f(m4), "'new C.$constructorName(m4)'");
}
int m1() => null;

Powered by Google App Engine
This is Rietveld 408576698