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

Unified Diff: tests/compiler/dart2js/unneeded_part_js_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/unneeded_part_js_test.dart
diff --git a/tests/compiler/dart2js/unneeded_part_js_test.dart b/tests/compiler/dart2js/unneeded_part_js_test.dart
index aa1e641dbdbeb9dc454641db8bc933bd41a9086a..afe22a80e41ff18386ffaf3ffb13c361d59e304f 100644
--- a/tests/compiler/dart2js/unneeded_part_js_test.dart
+++ b/tests/compiler/dart2js/unneeded_part_js_test.dart
@@ -41,8 +41,9 @@ main() {
libraryRoot,
packageRoot,
[]);
- compiler.run(Uri.parse('memory:main.dart'));
- Expect.isFalse(compiler.compilationFailed);
+ compiler.run(Uri.parse('memory:main.dart')).then((_) {
+ Expect.isFalse(compiler.compilationFailed);
+ });
}
const Map MEMORY_SOURCE_FILES = const {

Powered by Google App Engine
This is Rietveld 408576698