Index: tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
diff --git a/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart b/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
index 7fc4108d0f228694be9c0517af7ab7bcbe1834b4..e25231b8132e36bccb0d05eedbafd6fc2248e01b 100644 |
--- a/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
+++ b/tests/compiler/dart2js/no_duplicate_constructor_body_test.dart |
@@ -17,6 +17,6 @@ main() { |
main() { |
String generated = compileAll(CODE); |
RegExp regexp = new RegExp(r'\$.A = {"": "[A-za-z]+;"'); |
- Iterator<Match> matches = regexp.allMatches(generated).iterator(); |
+ Iterator<Match> matches = regexp.allMatches(generated).iterator; |
checkNumberOfMatches(matches, 1); |
} |