| 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 0cae4fafd237831af50d8715c27d4744920f0028..2bfb4f016e07f049e03244eee18b9ac0331f18fc 100644
|
| --- a/tests/lib/async/stream_controller_async_test.dart
|
| +++ b/tests/lib/async/stream_controller_async_test.dart
|
| @@ -246,7 +246,7 @@ testExtraMethods() {
|
| test("elementAt 2", () {
|
| StreamController c = new StreamController();
|
| Future f = c.stream.elementAt(20);
|
| - f.catchError(expectAsync1((error) { Expect.isTrue(error is StateError); }));
|
| + f.catchError(expectAsync1((error) { Expect.isTrue(error is RangeError); }));
|
| sentEvents.replay(c);
|
| });
|
|
|
|
|