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

Unified Diff: tests/compiler/dart2js/private_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/private_test.dart
diff --git a/tests/compiler/dart2js/private_test.dart b/tests/compiler/dart2js/private_test.dart
index 3390c9f2ae8336c7cd39aa82c164216c1ad35434..457eee428871a97530f91d84740ae743d5d97c42 100644
--- a/tests/compiler/dart2js/private_test.dart
+++ b/tests/compiler/dart2js/private_test.dart
@@ -68,8 +68,9 @@ void analyze(String text, [expectedWarnings]) {
''';
Uri uri = Uri.parse('src:public');
compiler.registerSource(uri, source);
- compiler.runCompiler(uri);
- compareWarningKinds(text, expectedWarnings, compiler.warnings);
+ compiler.runCompiler(uri).then((_) {
+ compareWarningKinds(text, expectedWarnings, compiler.warnings);
+ });
}
void main() {

Powered by Google App Engine
This is Rietveld 408576698