| Index: tests/lib/async/stream_state_helper.dart
|
| diff --git a/tests/lib/async/stream_state_helper.dart b/tests/lib/async/stream_state_helper.dart
|
| index b982d9d23be4e82fd13fec277e913907f31fbeac..ac6d94922cb864995f27da4c7f83b2f040da4877 100644
|
| --- a/tests/lib/async/stream_state_helper.dart
|
| +++ b/tests/lib/async/stream_state_helper.dart
|
| @@ -36,15 +36,15 @@ class StreamProtocolTest {
|
| void error(var error) { _controller.addError(error); }
|
| void close() { _controller.close(); }
|
|
|
| - void subscribe({bool unsubscribeOnError : false}) {
|
| + void subscribe({bool cancelOnError : false}) {
|
| // TODO(lrn): Handle more subscriptions (e.g., a subscription-id
|
| // per subscription, and an id on event _expectations).
|
| if (_subscription != null) throw new StateError("Already subscribed");
|
| _subscription = _controller.stream.listen(_onData,
|
| onError: _onError,
|
| onDone: _onDone,
|
| - unsubscribeOnError:
|
| - unsubscribeOnError);
|
| + cancelOnError:
|
| + cancelOnError);
|
| }
|
|
|
| void pause([Future resumeSignal]) {
|
|
|