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

Unified Diff: tests/corelib/reg_exp_start_end_test.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 | « tests/corelib/reg_exp_all_matches_test.dart ('k') | tests/corelib/set_iterator_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/reg_exp_start_end_test.dart
diff --git a/tests/corelib/reg_exp_start_end_test.dart b/tests/corelib/reg_exp_start_end_test.dart
index 6bf97640c1d76f792c6115150383f6ff27fdc003..06463e4803e2d93c5cf31fa401374c2c986fb903 100644
--- a/tests/corelib/reg_exp_start_end_test.dart
+++ b/tests/corelib/reg_exp_start_end_test.dart
@@ -8,7 +8,7 @@ main() {
var it = matches.iterator();
int start = 0;
int end = 5;
- while (it.hasNext()) {
+ while (it.hasNext) {
Match match = it.next();
Expect.equals(start, match.start());
Expect.equals(end, match.end());
« no previous file with comments | « tests/corelib/reg_exp_all_matches_test.dart ('k') | tests/corelib/set_iterator_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698