Index: tests/compiler/dart2js/pretty_parameter_test.dart |
diff --git a/tests/compiler/dart2js/pretty_parameter_test.dart b/tests/compiler/dart2js/pretty_parameter_test.dart |
index 7d44d3e6837589c9b537ab8cce8adccdda3df688..ed4caeeafe860036f4e1610b7a976bb47942f31e 100644 |
--- a/tests/compiler/dart2js/pretty_parameter_test.dart |
+++ b/tests/compiler/dart2js/pretty_parameter_test.dart |
@@ -100,9 +100,9 @@ main() { |
regexp = const RegExp(r"a = 2;"); |
Iterator matches = regexp.allMatches(generated).iterator(); |
- Expect.isTrue(matches.hasNext()); |
+ Expect.isTrue(matches.hasNext); |
matches.next(); |
- Expect.isFalse(matches.hasNext()); |
+ Expect.isFalse(matches.hasNext); |
generated = compile(PARAMETER_INIT, entry: 'foo'); |
regexp = const RegExp("var result = start;"); |