Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(578)

Unified Diff: utils/tests/pub/test_pub.dart

Issue 11230011: Make hasNext a getter instead of a method. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698