| Index: tests/compiler/dart2js/compiler_helper.dart
|
| diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
|
| index 0caec0e1978759091c094aa0daf0f6c5e562431c..6b679709370b3e77044f1e52cb97fd07bab53db5 100644
|
| --- a/tests/compiler/dart2js/compiler_helper.dart
|
| +++ b/tests/compiler/dart2js/compiler_helper.dart
|
| @@ -77,10 +77,10 @@ String getNumberTypeCheck(String variable) {
|
|
|
| bool checkNumberOfMatches(Iterator it, int nb) {
|
| for (int i = 0; i < nb; i++) {
|
| - Expect.isTrue(it.hasNext(), "Found less than $nb matches");
|
| + Expect.isTrue(it.hasNext, "Found less than $nb matches");
|
| it.next();
|
| }
|
| - Expect.isFalse(it.hasNext(), "Found more than $nb matches");
|
| + Expect.isFalse(it.hasNext, "Found more than $nb matches");
|
| }
|
|
|
| void compileAndMatch(String code, String entry, RegExp regexp) {
|
|
|