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