Index: pkg/analyzer/test/src/summary/resynthesize_common.dart |
diff --git a/pkg/analyzer/test/src/summary/resynthesize_common.dart b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
index cb2c82c4d15a89e6b398bc603155ba2c4079342f..0ea874ed554a22abfd8f31cee986891805ff984a 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -10293,27 +10293,22 @@ abstract class D { |
} |
test_method_inferred_type_nonStatic_implicit_return() async { |
- var library = await checkLibrary( |
- 'class C extends D { f() => null; } abstract class D { int f(); }'); |
- if (isStrongMode) { |
- checkElementText(library, r''' |
+ var library = await checkLibrary(''' |
class C extends D { |
- int f() {} |
+ f() => null; |
} |
abstract class D { |
int f(); |
} |
'''); |
- } else { |
- checkElementText(library, r''' |
+ checkElementText(library, r''' |
class C extends D { |
- dynamic f() {} |
+ int f() {} |
} |
abstract class D { |
int f(); |
} |
'''); |
- } |
} |
test_method_type_parameter() async { |