| 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 3228b26bb2412acaa43a4d019cef98bbef833946..3c65a7e87f981d2b2d7718586d34a46535622828 100644
|
| --- a/tests/lib/async/stream_controller_async_test.dart
|
| +++ b/tests/lib/async/stream_controller_async_test.dart
|
| @@ -83,7 +83,7 @@ testSingleController() {
|
| subscription = stream.listen((data) {
|
| counter += data;
|
| Expect.throws(() => stream.listen(null), (e) => e is StateError);
|
| - subscription.unsubscribe();
|
| + subscription.cancel();
|
| stream.listen((data) {
|
| counter += data * 10;
|
| },
|
| @@ -125,7 +125,7 @@ testSingleController() {
|
| var subscription = stream.listen(null);
|
| subscription.onData(expectAsync1((data) {
|
| counter += data;
|
| - subscription.unsubscribe();
|
| + subscription.cancel();
|
| stream.listen((data) {
|
| counter += 10 * data;
|
| },
|
|
|