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 3c9b0488ca7989ec60bad579bc6167335208fac5..aa69a705e1edde35b3cc3b8e720a9cf8dfdbbc00 100644 |
--- a/pkg/analyzer/test/src/summary/resynthesize_common.dart |
+++ b/pkg/analyzer/test/src/summary/resynthesize_common.dart |
@@ -4677,14 +4677,12 @@ typedef F();'''); |
test_unresolved_import() { |
allowMissingFiles = true; |
- checkLibrary("import 'foo.dart';", allowErrors: true); |
- } |
- |
- test_unresolved_import_deferred() { |
Paul Berry
2016/12/08 12:58:22
Why are we getting rid of this test?
scheglov
2016/12/08 15:53:09
I realized that this test does not add anything ne
|
- allowMissingFiles = true; |
LibraryElementImpl library = |
- checkLibrary("import 'missing.dart' deferred as p;"); |
- expect(library.imports[0].importedLibrary.loadLibraryFunction, isNotNull); |
+ checkLibrary("import 'foo.dart';", allowErrors: true); |
+ LibraryElement importedLibrary = library.imports[0].importedLibrary; |
+ expect(importedLibrary.loadLibraryFunction, isNotNull); |
+ expect(importedLibrary.publicNamespace, isNotNull); |
+ expect(importedLibrary.exportNamespace, isNotNull); |
} |
test_unresolved_part() { |