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

Unified Diff: tests/compiler/dart2js/code_motion_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/co19/co19-runtime.status ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/code_motion_test.dart
diff --git a/tests/compiler/dart2js/code_motion_test.dart b/tests/compiler/dart2js/code_motion_test.dart
index 444de81d79bef85e20afd45882dc47d6ffd08d06..568da95a720cd3fcdfdad013743ce1d246a271c5 100644
--- a/tests/compiler/dart2js/code_motion_test.dart
+++ b/tests/compiler/dart2js/code_motion_test.dart
@@ -21,7 +21,7 @@ main() {
String generated = compile(TEST_ONE, entry: 'foo');
RegExp regexp = const RegExp('a \\+ b');
Iterator matches = regexp.allMatches(generated).iterator();
- Expect.isTrue(matches.hasNext());
+ Expect.isTrue(matches.hasNext);
matches.next();
- Expect.isFalse(matches.hasNext());
+ Expect.isFalse(matches.hasNext);
}
« no previous file with comments | « tests/co19/co19-runtime.status ('k') | tests/compiler/dart2js/compiler_helper.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698