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

Unified Diff: tests/compiler/dart2js/tag_mapping_test.dart

Issue 356573002: Revert "Move Compiler.libraries to LibraryLoder." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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
« no previous file with comments | « tests/compiler/dart2js/mirrors_used_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/tag_mapping_test.dart
diff --git a/tests/compiler/dart2js/tag_mapping_test.dart b/tests/compiler/dart2js/tag_mapping_test.dart
index 04af1fcef6bb65b07fab895a1d334f13e1b2c3bf..3ae88f4f20efa77462188884b00283e1b208bae4 100644
--- a/tests/compiler/dart2js/tag_mapping_test.dart
+++ b/tests/compiler/dart2js/tag_mapping_test.dart
@@ -26,10 +26,8 @@ void main() {
};
asyncTest(() => compileSources(sources, (MockCompiler compiler) {
- LibraryElement mainApp =
- compiler.libraryLoader.lookupLibrary(Uri.parse('source:/main.dart'));
- LibraryElement lib =
- compiler.libraryLoader.lookupLibrary(Uri.parse('source:/library.dart'));
+ LibraryElement mainApp = compiler.libraries['source:/main.dart'];
+ LibraryElement lib = compiler.libraries['source:/library.dart'];
Expect.isNotNull(mainApp, 'Could not find main.dart library');
Expect.isNotNull(lib, 'Could not find library.dart library');
« no previous file with comments | « tests/compiler/dart2js/mirrors_used_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698