Index: tests/compiler/dart2js/no_duplicate_stub_test.dart |
diff --git a/tests/compiler/dart2js/no_duplicate_stub_test.dart b/tests/compiler/dart2js/no_duplicate_stub_test.dart |
index fa0fe59fd66aa9d47747fcf1c89664e924031eac..3213529a77f9861e68b7af1dc8656ded6b4498f2 100644 |
--- a/tests/compiler/dart2js/no_duplicate_stub_test.dart |
+++ b/tests/compiler/dart2js/no_duplicate_stub_test.dart |
@@ -30,6 +30,6 @@ baz(a) { |
main() { |
String generated = compileAll(TEST); |
RegExp regexp = new RegExp('foo\\\$1\\\$a: function'); |
- Iterator<Match> matches = regexp.allMatches(generated).iterator(); |
+ Iterator<Match> matches = regexp.allMatches(generated).iterator; |
checkNumberOfMatches(matches, 1); |
} |