Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Unified Diff: pkg/analyzer/test/src/summary/resynthesize_test.dart

Issue 1583613002: Create LibraryElement.loadLibrary during resynth. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Create 'loadLibrary()' for dart:core too. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analyzer/test/src/summary/resynthesize_test.dart
diff --git a/pkg/analyzer/test/src/summary/resynthesize_test.dart b/pkg/analyzer/test/src/summary/resynthesize_test.dart
index 3bcab0148a86b47ec77ef56b34a60679dab30464..e107edf0c8d008ad7306b4eb98a24e41549b37b5 100644
--- a/pkg/analyzer/test/src/summary/resynthesize_test.dart
+++ b/pkg/analyzer/test/src/summary/resynthesize_test.dart
@@ -78,6 +78,10 @@ class ResynthTest extends ResolverTestCase {
'(public namespace)');
compareNamespaces(resynthesized.exportNamespace, original.exportNamespace,
'(export namespace)');
+ compareExecutableElements(
+ resynthesized.loadLibraryFunction as ExecutableElementImpl,
+ original.loadLibraryFunction as ExecutableElementImpl,
+ '(loadLibraryFunction)');
// TODO(paulberry): test metadata.
}

Powered by Google App Engine
This is Rietveld 408576698