Index: tests/compiler/dart2js/builtin_equals_test.dart |
diff --git a/tests/compiler/dart2js/builtin_equals_test.dart b/tests/compiler/dart2js/builtin_equals_test.dart |
index 39bb56ac7698178a6ba856bbd8d4e894179a0751..a2e7cdac84007776f567182e266619301d182249 100644 |
--- a/tests/compiler/dart2js/builtin_equals_test.dart |
+++ b/tests/compiler/dart2js/builtin_equals_test.dart |
@@ -20,6 +20,6 @@ main() { |
Expect.isTrue(!generated.contains('eqB')); |
RegExp regexp = new RegExp('=='); |
- Iterator<Match> matches = regexp.allMatches(generated).iterator(); |
+ Iterator<Match> matches = regexp.allMatches(generated).iterator; |
checkNumberOfMatches(matches, 4); |
} |