Index: tests/compiler/dart2js/rewrite_better_user_test.dart |
diff --git a/tests/compiler/dart2js/rewrite_better_user_test.dart b/tests/compiler/dart2js/rewrite_better_user_test.dart |
index 756c77f76120129e5527a4534eba95994a13df36..6d1fbfe61d2dfc85ab66a7a4ecacac36da1eba11 100644 |
--- a/tests/compiler/dart2js/rewrite_better_user_test.dart |
+++ b/tests/compiler/dart2js/rewrite_better_user_test.dart |
@@ -27,7 +27,7 @@ main() { |
main() { |
String generated = compileAll(TEST); |
RegExp regexp = new RegExp('foo\\\$0\\\$bailout'); |
- Iterator matches = regexp.allMatches(generated).iterator(); |
+ Iterator matches = regexp.allMatches(generated).iterator; |
// We check that there is only one call to the bailout method. |
// One match for the call, one for the definition. |