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

Unified Diff: tests/compiler/dart2js/gvn_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: 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
Index: tests/compiler/dart2js/gvn_test.dart
diff --git a/tests/compiler/dart2js/gvn_test.dart b/tests/compiler/dart2js/gvn_test.dart
index 664ac2bbe707912242ac289f719302f3055cc028..ec06ea68a839a9ea998da9b4b993a50a29b6b055 100644
--- a/tests/compiler/dart2js/gvn_test.dart
+++ b/tests/compiler/dart2js/gvn_test.dart
@@ -17,7 +17,7 @@ main() {
String generated = compile(TEST_ONE, entry: 'foo');
RegExp regexp = const RegExp(r"1 \+ [a-z]+");
Iterator matches = regexp.allMatches(generated).iterator();
- Expect.isTrue(matches.hasNext());
+ Expect.isTrue(matches.hasNext);
matches.next();
- Expect.isFalse(matches.hasNext());
+ Expect.isFalse(matches.hasNext);
}

Powered by Google App Engine
This is Rietveld 408576698