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 8395df69298509b8daf6a1d67c28fc9126a4ac76..19155abc214e579679806fbe5be14444dce0f34b 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: |
- <R, T>(Zone self, ZoneDelegate parent, Zone origin, R f(T arg)) { |
+ (Zone self, ZoneDelegate parent, Zone origin, f(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); |
+ var bound = forked.bindUnaryCallback(fun, runGuarded: false); |
Expect.isFalse(identical(fun, bound)); |
// It is legal to invoke the callback in a different zone. This is, of course, |