Index: tests/lib/async/stream_listen_zone_test.dart |
diff --git a/tests/lib/async/stream_listen_zone_test.dart b/tests/lib/async/stream_listen_zone_test.dart |
index 86c017133099cf402e9f7f21d4f76ba58c1da5dd..6aae8fed14c73e8dd3d296dd70e1079c740382ed 100644 |
--- a/tests/lib/async/stream_listen_zone_test.dart |
+++ b/tests/lib/async/stream_listen_zone_test.dart |
@@ -64,28 +64,27 @@ void testStream( |
registerExpect += 3; |
Expect.equals(registerExpect, registerCount, name); |
}, |
- zoneSpecification: new ZoneSpecification( |
- registerCallback: <R>(self, p, z, R callback()) { |
+ zoneSpecification: |
+ new ZoneSpecification(registerCallback: (self, p, z, callback()) { |
Expect.identical(zone, self, name); |
registerCount++; |
return () { |
Expect.identical(zone, Zone.current, name); |
- return callback(); |
+ callback(); |
}; |
- }, registerUnaryCallback: <R, T>(self, p, z, R callback(T a)) { |
+ }, registerUnaryCallback: (self, p, z, callback(a)) { |
Expect.identical(zone, self, name); |
registerCount++; |
return (a) { |
Expect.identical(zone, Zone.current, name); |
- return callback(a); |
+ callback(a); |
}; |
- }, registerBinaryCallback: |
- <R, T1, T2>(self, package, z, R callback(T1 a, T2 b)) { |
+ }, registerBinaryCallback: (self, package, z, callback(a, b)) { |
Expect.identical(zone, self, name); |
registerCount++; |
return (a, b) { |
Expect.identical(zone, Zone.current, name); |
- return callback(a, b); |
+ callback(a, b); |
}; |
})); |