Index: tests/corelib/reg_exp5_test.dart |
diff --git a/tests/corelib/reg_exp5_test.dart b/tests/corelib/reg_exp5_test.dart |
index 455d69b4e7a5f3ff02c1a5dc61f32feb5df05cd5..17217a86827848029ed03124e513ef654dcd3ff2 100644 |
--- a/tests/corelib/reg_exp5_test.dart |
+++ b/tests/corelib/reg_exp5_test.dart |
@@ -17,7 +17,7 @@ main() { |
Expect.equals(null, fm); |
Iterable<Match> am = new RegExp(r"^\w+$").allMatches(str); |
- Expect.isFalse(am.iterator().hasNext()); |
+ Expect.isFalse(am.iterator().hasNext); |
Expect.equals(null, new RegExp(r"^\w+$").stringMatch(str)); |
} |