Index: tests/lib_strong/async/async_await_zones_test.dart |
diff --git a/tests/lib_strong/async/async_await_zones_test.dart b/tests/lib_strong/async/async_await_zones_test.dart |
index 210b05dee778929c0d7d3f3757afd3146e927214..cb7011caf896156b5b440a14b9644682a335bab0 100644 |
--- a/tests/lib_strong/async/async_await_zones_test.dart |
+++ b/tests/lib_strong/async/async_await_zones_test.dart |
@@ -23,7 +23,6 @@ bar() async* { |
while (true) yield await gee(i++); |
} |
- |
awaitForTest() async { |
var sum = 0; |
await for (var x in bar().take(100)) { |
@@ -103,6 +102,7 @@ registerCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
return f(); |
}); |
} |
+ |
registerUnaryCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
var oldDepth = depth; |
increaseDepth(); |
@@ -111,6 +111,7 @@ registerUnaryCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
return f(x); |
}); |
} |
+ |
registerBinaryCallback(Zone self, ZoneDelegate parent, Zone zone, f) { |
var oldDepth = depth; |
increaseDepth(); |
@@ -135,8 +136,7 @@ main() { |
registerCallback: registerCallback, |
registerUnaryCallback: registerUnaryCallback, |
registerBinaryCallback: registerBinaryCallback, |
- scheduleMicrotask: sm |
- ); |
+ scheduleMicrotask: sm); |
var future = runZoned(runTests, zoneSpecification: desc); |
future.then((_) => asyncEnd()); |
} |