| Index: tests/lib/async/slow_consumer_test.dart
|
| diff --git a/tests/lib/async/slow_consumer_test.dart b/tests/lib/async/slow_consumer_test.dart
|
| index c07f8ac0231904df28f622e235d038d3c38b2054..9c6d0ea5a3e7fdf38a5cd25ad3f74a0fcbb901ec 100644
|
| --- a/tests/lib/async/slow_consumer_test.dart
|
| +++ b/tests/lib/async/slow_consumer_test.dart
|
| @@ -68,7 +68,9 @@ class DataProvider {
|
| Timer pendingSend;
|
|
|
| DataProvider(int this.bytesPerSecond, int this.targetCount, this.chunkSize) {
|
| - controller = new StreamController(onPauseStateChange: onPauseStateChange);
|
| + controller = new StreamController(
|
| + onPause: onPauseStateChange,
|
| + onResume: onPauseStateChange);
|
| Timer.run(send);
|
| }
|
|
|
|
|