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

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

Issue 17759007: First pass at asynchronous input loading in dart2js. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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/size_test.dart
diff --git a/tests/compiler/dart2js/size_test.dart b/tests/compiler/dart2js/size_test.dart
index 3d6fd7b9f5077cfaf5d1d8f82c628bc4b9f1e774..bb65d40fb99093303652a4fb5a20187b801c631f 100644
--- a/tests/compiler/dart2js/size_test.dart
+++ b/tests/compiler/dart2js/size_test.dart
@@ -23,10 +23,11 @@ const String DEFAULT_CORELIB_WITH_LIST = r'''
''';
main() {
- String generated = compileAll(TEST, coreSource: DEFAULT_CORELIB_WITH_LIST);
- MockCompiler compiler = new MockCompiler();
- var backend = compiler.backend;
+ compileAll(TEST, coreSource: DEFAULT_CORELIB_WITH_LIST).then((generated) {
+ MockCompiler compiler = new MockCompiler();
+ var backend = compiler.backend;
- // Make sure no class is emitted.
- Expect.isFalse(generated.contains(backend.emitter.finishClassesName));
+ // Make sure no class is emitted.
+ Expect.isFalse(generated.contains(backend.emitter.finishClassesName));
+ });
}

Powered by Google App Engine
This is Rietveld 408576698