Index: utils/tests/pub/test_pub.dart |
diff --git a/utils/tests/pub/test_pub.dart b/utils/tests/pub/test_pub.dart |
index df6cb3e27654ff4b579f8c9b0bdac779e4b8ac39..0f2a4c1a3e81dc8c90889526b9109af558028a84 100644 |
--- a/utils/tests/pub/test_pub.dart |
+++ b/utils/tests/pub/test_pub.dart |
@@ -607,7 +607,7 @@ Future _runScheduled(Directory parentDir, List<_ScheduledEvent> scheduled) { |
var iterator = scheduled.iterator(); |
Future runNextEvent(_) { |
- if (_abortScheduled || !iterator.hasNext()) { |
+ if (_abortScheduled || !iterator.hasNext) { |
_abortScheduled = false; |
scheduled.clear(); |
return new Future.immediate(null); |