Index: tests/compiler/dart2js/closure_codegen_test.dart |
diff --git a/tests/compiler/dart2js/closure_codegen_test.dart b/tests/compiler/dart2js/closure_codegen_test.dart |
index 3f6daf3e850d6dcf67301f1234ee01419707e236..944446b7c18ddd70a9b4d2f4f3d3d3c094b8bafb 100644 |
--- a/tests/compiler/dart2js/closure_codegen_test.dart |
+++ b/tests/compiler/dart2js/closure_codegen_test.dart |
@@ -53,7 +53,7 @@ closureInvocation() { |
closureBailout() { |
String generated = compileAll(TEST_BAILOUT); |
RegExp regexp = new RegExp(r'call\$0: function'); |
- Iterator<Match> matches = regexp.allMatches(generated).iterator(); |
+ Iterator<Match> matches = regexp.allMatches(generated).iterator; |
checkNumberOfMatches(matches, 1); |
} |