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

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: Remove unused variable. 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
« no previous file with comments | « utils/template/utils.dart ('k') | utils/tests/string_encoding/utf16_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « utils/template/utils.dart ('k') | utils/tests/string_encoding/utf16_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698