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 f3b679413ef11a4296aaa2f4a9ce5de636f20e33..f895e76462b96442cfa23981370d770e4d0b23db 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -888,15 +888,6 @@ abstract class AbstractResynthesizeTest extends AbstractSingleUnitTest { |
'$desc local function ${oFunctions[i].name}'); |
} |
} |
- if (original is! Member) { |
- List<LabelElement> rLabels = resynthesized.labels; |
- List<LabelElement> oLabels = original.labels; |
- expect(rLabels, hasLength(oLabels.length)); |
- for (int i = 0; i < oLabels.length; i++) { |
- compareLabelElements( |
- rLabels[i], oLabels[i], '$desc label ${oLabels[i].name}'); |
- } |
- } |
} |
void compareMetadata(List<ElementAnnotation> resynthesized, |