Chromium Code Reviews| Index: tests/lib/async/stream_controller_async_test.dart |
| diff --git a/tests/lib/async/stream_controller_async_test.dart b/tests/lib/async/stream_controller_async_test.dart |
| index a130b4cc40512611fb9d232c1962f28037f30e0f..ecc647481b64b7939571cda8f06f9afdee317de5 100644 |
| --- a/tests/lib/async/stream_controller_async_test.dart |
| +++ b/tests/lib/async/stream_controller_async_test.dart |
| @@ -659,7 +659,7 @@ void testSink({bool sync, bool broadcast, bool asBroadcast}) { |
| return sink.close(); |
| }) |
| .then((_) { |
| - if (asBroadcast) { |
| + if (asBroadcast || broadcast) { |
|
Lasse Reichstein Nielsen
2013/09/26 11:58:32
Ack, yes. The broadcast stream subscription handle
|
| // The done-future of the sink completes when it passes |
| // the done event to the asBroadcastStream controller, which is |
| // before the final listener gets the event. |