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

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

Issue 339563002: Remove scanBuiltinLibraries. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Updated cf. comments. 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
Index: tests/compiler/dart2js/part_of_test.dart
diff --git a/tests/compiler/dart2js/part_of_test.dart b/tests/compiler/dart2js/part_of_test.dart
index f28ddbe78501e770363c6261f707df5597b434fa..4b0814bf5208fa2ee84df0a80b3921f21e0dbb45 100644
--- a/tests/compiler/dart2js/part_of_test.dart
+++ b/tests/compiler/dart2js/part_of_test.dart
@@ -22,13 +22,11 @@ part of bar;
''';
void main() {
- var compiler = new MockCompiler.internal();
+ MockCompiler compiler = new MockCompiler.internal();
compiler.registerSource(libraryUri, LIBRARY_SOURCE);
compiler.registerSource(partUri, PART_SOURCE);
- asyncTest(() =>
- compiler.libraryLoader.loadLibrary(libraryUri, null, libraryUri).
- then((_) {
+ asyncTest(() => compiler.libraryLoader.loadLibrary(libraryUri).then((_) {
print('errors: ${compiler.errors}');
print('warnings: ${compiler.warnings}');
Expect.isTrue(compiler.errors.isEmpty);

Powered by Google App Engine
This is Rietveld 408576698