| 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 833e462f562e5efb2db89f64a2bf2328e6b5c384..938fc4c46be726290943fc4b891baf4ba4a0a976 100644
|
| --- a/tests/lib/async/slow_consumer_test.dart
|
| +++ b/tests/lib/async/slow_consumer_test.dart
|
| @@ -20,8 +20,8 @@ class SlowConsumer extends StreamPipe {
|
| Future bind(Stream stream) {
|
| Completer completer = new Completer();
|
| var subscription;
|
| - subscription = stream.subscribe(
|
| - onData: (List<int> data) {
|
| + subscription = stream.listen(
|
| + (List<int> data) {
|
| current = current
|
| .then((count) {
|
| // Simulated amount of time it takes to handle the data.
|
|
|