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

Unified Diff: tools/testing/dart/status_expression.dart

Issue 11817012: Migration of testing scripts in tools/ to libv2 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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: tools/testing/dart/status_expression.dart
diff --git a/tools/testing/dart/status_expression.dart b/tools/testing/dart/status_expression.dart
index a5e919a41b75a7088caaf2f9a5a0060d35d1894c..2ac072a0534198dd5b3e83dce711ed697b0881a2 100644
--- a/tools/testing/dart/status_expression.dart
+++ b/tools/testing/dart/status_expression.dart
@@ -175,14 +175,14 @@ class Scanner {
String current;
Scanner(this.tokens) {
- tokenIterator = tokens.iterator();
+ tokenIterator = tokens.iterator;
advance();
}
bool hasMore() => current != null;
void advance() {
- current = tokenIterator.hasNext ? tokenIterator.next() : null;
+ current = tokenIterator.moveNext() ? tokenIterator.current : null;
}
}

Powered by Google App Engine
This is Rietveld 408576698