Chromium Code Reviews| Index: tests/lib/async/zone_empty_description2_test.dart |
| diff --git a/tests/lib/async/zone_empty_description2_test.dart b/tests/lib/async/zone_empty_description2_test.dart |
| index 68e145399a4248737e65112f3b693eba4f8c8241..8fd4ad1fe4016be019d6f4b4590a8e7ba8cd8a2c 100644 |
| --- a/tests/lib/async/zone_empty_description2_test.dart |
| +++ b/tests/lib/async/zone_empty_description2_test.dart |
| @@ -14,8 +14,8 @@ testEmptyZoneSpecification() { |
| asyncStart(); |
| bool timerDidRun = false; |
| forked.createTimer(const Duration(milliseconds: 20), () { |
| - // The createTimer functions on the Zone don't bind the closures. |
| - Expect.identical(Zone.ROOT, Zone.current); |
| + // The createTimer functions on the Zone binds the closures. |
|
floitsch
2013/11/27 10:05:15
s/functions/function
|
| + Expect.identical(forked, Zone.current); |
| timerDidRun = true; |
| asyncEnd(); |
| }); |
| @@ -29,8 +29,8 @@ testEmptyZoneSpecification() { |
| timer.cancel(); |
| asyncEnd(); |
| } |
| - // The createPeriodicTimer functions on the Zone don't bind the closures. |
| - Expect.identical(Zone.ROOT, Zone.current); |
| + // The createPeriodicTimer functions on the Zone binds the closures. |
|
floitsch
2013/11/27 10:05:15
ditto.
|
| + Expect.identical(forked, Zone.current); |
| }); |
| Expect.identical(Zone.ROOT, Zone.current); |
| } |