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

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

Issue 66293008: Properly close watcher streams during tests. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: re-upload Created 7 years, 1 month 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
« no previous file with comments | « pkg/watcher/lib/src/utils.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/watcher/test/utils.dart
diff --git a/pkg/watcher/test/utils.dart b/pkg/watcher/test/utils.dart
index 136c8b01466e39bd51be7cdd03971495b66820e4..567bdb22102cf455d0fd43fa81ec94dfac1bea86 100644
--- a/pkg/watcher/test/utils.dart
+++ b/pkg/watcher/test/utils.dart
@@ -143,7 +143,7 @@ void startWatcher({String dir}) {
}, "reset watcher");
return _watcher.events;
- }, "create watcher")).asBroadcastStream();
+ }, "create watcher"), broadcast: true);
schedule(() => _watcher.ready, "wait for watcher to be ready");
}
« no previous file with comments | « pkg/watcher/lib/src/utils.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698