| Index: tests/lib/async/zone_bind_callback_unary_test.dart
|
| diff --git a/tests/lib/async/zone_bind_callback_unary_test.dart b/tests/lib/async/zone_bind_callback_unary_test.dart
|
| index 3f315e312db6b8dc50abd0c1615412794fc2b8e6..2da33be65a083d6bec448563cc77635b203e0b03 100644
|
| --- a/tests/lib/async/zone_bind_callback_unary_test.dart
|
| +++ b/tests/lib/async/zone_bind_callback_unary_test.dart
|
| @@ -15,7 +15,7 @@ main() {
|
| Expect.identical(Zone.ROOT, Zone.current);
|
| Zone forked = Zone.current.fork(specification: new ZoneSpecification(
|
| registerUnaryCallback:
|
| - (Zone self, ZoneDelegate parent, Zone origin, f(arg)) {
|
| + <R, T>(Zone self, ZoneDelegate parent, Zone origin, R f(T arg)) {
|
| // The zone is still the same as when origin.run was invoked, which
|
| // is the root zone. (The origin zone hasn't been set yet).
|
| Expect.identical(Zone.current, Zone.ROOT);
|
| @@ -32,7 +32,7 @@ main() {
|
| Expect.identical(forked, Zone.current);
|
| return x + 99;
|
| };
|
| - var bound = forked.bindUnaryCallback(fun, runGuarded: false);
|
| + var bound = forked.bindUnaryCallback(fun);
|
| Expect.isFalse(identical(fun, bound));
|
|
|
| // It is legal to invoke the callback in a different zone. This is, of course,
|
|
|