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

Unified Diff: tests/corelib/reg_exp5_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/queue_iterator_test.dart ('k') | tests/corelib/reg_exp_all_matches_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « tests/corelib/queue_iterator_test.dart ('k') | tests/corelib/reg_exp_all_matches_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698