| Index: tests/lib/async/catch_errors26_test.dart
|
| diff --git a/tests/lib/async/catch_errors26_test.dart b/tests/lib/async/catch_errors26_test.dart
|
| index e2894f80eeaef0509fd71007451799445dba7ae0..1717b24064eaa36835f36cf1511f0ed51168186a 100644
|
| --- a/tests/lib/async/catch_errors26_test.dart
|
| +++ b/tests/lib/async/catch_errors26_test.dart
|
| @@ -24,8 +24,8 @@ main() {
|
| events.add("map $x");
|
| return x + 100;
|
| })
|
| - .transform(new StreamTransformer(
|
| - handleError: (e, sink) => sink.add("error $e")))
|
| + .transform(new StreamTransformer.fromHandlers(
|
| + handleError: (e, st, sink) { sink.add("error $e"); }))
|
| .listen((x) { events.add("stream $x"); });
|
| }).listen((x) { events.add(x); })
|
| .asFuture().then((_) { Expect.fail("Unexpected callback"); });
|
|
|