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", () { |