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 974a0d99244f2e649246f734ac21fd670aff3e4c..55cbe3469de0febef14b5d51f3adb45f06096901 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -2747,22 +2747,29 @@ class C { |
} |
test_class_supertype() async { |
- var library = await checkLibrary('class C extends D {} class D {}'); |
- if (isStrongMode) { |
- checkElementText(library, r''' |
+ var library = await checkLibrary(''' |
+class C extends D {} |
+class D {} |
+'''); |
+ checkElementText(library, r''' |
class C extends D { |
} |
class D { |
} |
'''); |
- } else { |
- checkElementText(library, r''' |
-class C extends D { |
+ } |
+ |
+ test_class_supertype_typeArguments() async { |
+ var library = await checkLibrary(''' |
+class C extends D<int, double> {} |
+class D<T1, T2> {} |
+'''); |
+ checkElementText(library, r''' |
+class C extends D<int, double> { |
} |
-class D { |
+class D<T1, T2> { |
} |
'''); |
- } |
} |
test_class_supertype_unresolved() async { |