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

Unified Diff: packages/quiver/test/async/stream_router_test.dart

Issue 2989763002: Update charted to 0.4.8 and roll (Closed)
Patch Set: Removed Cutch from list of reviewers Created 3 years, 5 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
« no previous file with comments | « packages/quiver/test/async/stream_buffer_test.dart ('k') | packages/quiver/test/check_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: packages/quiver/test/async/stream_router_test.dart
diff --git a/packages/quiver/test/async/stream_router_test.dart b/packages/quiver/test/async/stream_router_test.dart
index 5356c6756cbdd64678a097b58bc54411b930fc98..c0fdea49445fe7509335fb3ff9a8fba72bc16993 100644
--- a/packages/quiver/test/async/stream_router_test.dart
+++ b/packages/quiver/test/async/stream_router_test.dart
@@ -60,17 +60,16 @@ main() {
var controller = new StreamController<int>(sync: true);
var router = new StreamRouter<int>(controller.stream);
// toList() will only complete when the child streams are closed
- var future = Future
- .wait([
+ var future = Future.wait([
router.route((e) => e % 2 == 0).toList(),
router.route((e) => e % 2 == 1).toList(),
- ])
- .then((l) {
- expect(l, [[4], [5]]);
+ ]).then((l) {
+ expect(l, [
+ [4],
+ [5]
+ ]);
});
- controller
- ..add(4)
- ..add(5);
+ controller..add(4)..add(5);
router.close();
return future;
});
« no previous file with comments | « packages/quiver/test/async/stream_buffer_test.dart ('k') | packages/quiver/test/check_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698