| Index: pkg/analyzer/test/src/context/context_test.dart
|
| diff --git a/pkg/analyzer/test/src/context/context_test.dart b/pkg/analyzer/test/src/context/context_test.dart
|
| index 8c13cf569645406e1f213248c0d45fa8cc6ae762..a0082c406228c2cf8482ff0117a49377e02d4446 100644
|
| --- a/pkg/analyzer/test/src/context/context_test.dart
|
| +++ b/pkg/analyzer/test/src/context/context_test.dart
|
| @@ -338,7 +338,7 @@ export 'lib.dart';
|
| // initially: A
|
| {
|
| LibraryElement libraryElement =
|
| - context.getResult(exporterSource, LIBRARY_ELEMENT1) as LibraryElement;
|
| + context.getResult(exporterSource, LIBRARY_ELEMENT1);
|
| expect(libraryElement.exportNamespace.definedNames.keys,
|
| unorderedEquals(['A']));
|
| }
|
| @@ -350,7 +350,7 @@ class B {}''');
|
| _performPendingAnalysisTasks();
|
| {
|
| LibraryElement libraryElement =
|
| - context.getResult(exporterSource, LIBRARY_ELEMENT1) as LibraryElement;
|
| + context.getResult(exporterSource, LIBRARY_ELEMENT1);
|
| expect(libraryElement.exportNamespace.definedNames.keys,
|
| unorderedEquals(['B']));
|
| }
|
|
|