| Index: tests/language/function_subtype_inline2_test.dart
|
| diff --git a/tests/language/function_subtype_inline2_test.dart b/tests/language/function_subtype_inline2_test.dart
|
| index 8fc615e2104a553fdfaa55e4bb05d57234e3544e..546d628443529e6c85d8e97543098a6b2fee912d 100644
|
| --- a/tests/language/function_subtype_inline2_test.dart
|
| +++ b/tests/language/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;
|
|
|