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

Unified Diff: pkg/barback/test/utils.dart

Issue 187263003: Move Barback to a more thoroughly push-based model. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: code review Created 6 years, 10 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: pkg/barback/test/utils.dart
diff --git a/pkg/barback/test/utils.dart b/pkg/barback/test/utils.dart
index 7da5977e9b7a80561ea521a74f841a8b21f23ad5..c832324f1a9191c72767c5c1ecd74568e4abb708 100644
--- a/pkg/barback/test/utils.dart
+++ b/pkg/barback/test/utils.dart
@@ -98,7 +98,7 @@ void initGraph([assets,
_nextBuildResult = 0;
_nextLog = 0;
- transformers.forEach(_barback.updateTransformers);
+ schedule(() => transformers.forEach(_barback.updateTransformers));
// There should be one successful build after adding all the transformers but
// before adding any sources.
« no previous file with comments | « pkg/barback/test/package_graph/errors_test.dart ('k') | sdk/lib/_internal/pub/lib/src/barback/load_all_transformers.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698