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()); |