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

Unified Diff: tests/utils/dummy_compiler_test.dart

Issue 886833005: Fix await parsing. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix metadata_test Created 5 years, 11 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/utils/dummy_compiler_test.dart
diff --git a/tests/utils/dummy_compiler_test.dart b/tests/utils/dummy_compiler_test.dart
index cf573377c0a749a875fd87903f3467d0499008a7..43a79c58c51c70b3a3868953123a757f0f5c2441 100644
--- a/tests/utils/dummy_compiler_test.dart
+++ b/tests/utils/dummy_compiler_test.dart
@@ -25,6 +25,8 @@ String libProvider(Uri uri) {
return buildLibrarySource(DEFAULT_JS_HELPER_LIBRARY);
} else if (uri.path.endsWith('isolate_helper.dart')) {
return buildLibrarySource(DEFAULT_ISOLATE_HELPER_LIBRARY);
+ } else if (uri.path.endsWith('/async.dart')) {
+ return buildLibrarySource(DEFAULT_ASYNC_LIBRARY);
} else {
return "library lib${uri.path.replaceAll('/', '.')};";
}
« tests/compiler/dart2js/mock_libraries.dart ('K') | « tests/compiler/dart2js/type_checker_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698