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

Unified Diff: test/multi_channel_test.dart

Issue 1644943004: Fix the MultiChannel constructor. (Closed) Base URL: git@github.com:dart-lang/stream_channel.git@master
Patch Set: Created 4 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
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/multi_channel_test.dart
diff --git a/test/multi_channel_test.dart b/test/multi_channel_test.dart
index e4594128a9ea3923c94f66d1d0e409d2eaeeee9b..cc9ed1d2692a27f947fb2133baff2726644c2014 100644
--- a/test/multi_channel_test.dart
+++ b/test/multi_channel_test.dart
@@ -17,8 +17,10 @@ void main() {
setUp(() {
oneToTwo = new StreamController();
twoToOne = new StreamController();
- channel1 = new MultiChannel(twoToOne.stream, oneToTwo.sink);
- channel2 = new MultiChannel(oneToTwo.stream, twoToOne.sink);
+ channel1 = new MultiChannel(
+ new StreamChannel(twoToOne.stream, oneToTwo.sink));
+ channel2 = new MultiChannel(
+ new StreamChannel(oneToTwo.stream, twoToOne.sink));
});
group("the default virtual channel", () {
« no previous file with comments | « pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698