Index: tests/lib/async/stream_state_test.dart |
diff --git a/tests/lib/async/stream_state_test.dart b/tests/lib/async/stream_state_test.dart |
index f27697bf084db18acdf004e2aee64bdb00cfc423..0495a3db0b89c643cd6a62444696f1863e25dc4b 100644 |
--- a/tests/lib/async/stream_state_test.dart |
+++ b/tests/lib/async/stream_state_test.dart |
@@ -58,7 +58,7 @@ mainTest(bool broadcast) { |
..expectData(42) |
..expectError("bad") |
..expectSubscription(false, !broadcast); |
- t..subscribe(unsubscribeOnError: true) |
+ t..subscribe(cancelOnError: true) |
..add(42) |
..error("bad") |
..add(43) |
@@ -73,7 +73,7 @@ mainTest(bool broadcast) { |
..expectData(43) |
..expectDone() |
..expectSubscription(false, false); |
- t..subscribe(unsubscribeOnError: false) |
+ t..subscribe(cancelOnError: false) |
..add(42) |
..error("bad") |
..add(43) |