Index: utils/tests/pub/test_pub.dart |
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
index 6fbee3042af1a98159cd708834f84d8c76837ba9..72cbcc0ffac0fc4ebc17a0280c60f558e4197718 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -549,7 +549,7 @@ Future _runScheduled(Directory parentDir, List<_ScheduledEvent> scheduled) { |
if (scheduled == null) return new Future.immediate(null); |
var iterator = scheduled.iterator(); |
- Future runNextEvent([_]) { |
+ Future runNextEvent(_) { |
if (_abortScheduled || !iterator.hasNext()) { |
_abortScheduled = false; |
scheduled.clear(); |
@@ -560,11 +560,11 @@ Future _runScheduled(Directory parentDir, List<_ScheduledEvent> scheduled) { |
if (future != null) { |
return future.chain(runNextEvent); |
} else { |
- return runNextEvent(); |
+ return runNextEvent(null); |
} |
} |
- return runNextEvent(); |
+ return runNextEvent(null); |
} |
/** |