| Index: tests/compiler/dart2js/compiler_helper.dart
|
| diff --git a/tests/compiler/dart2js/compiler_helper.dart b/tests/compiler/dart2js/compiler_helper.dart
|
| index 34fc6f29b3c551ccb3444c1932994a7e0021d318..38884fe4b07a989bf333cb77bddefda6e626986a 100644
|
| --- a/tests/compiler/dart2js/compiler_helper.dart
|
| +++ b/tests/compiler/dart2js/compiler_helper.dart
|
| @@ -260,7 +260,6 @@ Future compileAndMatchFuzzyHelper(
|
| });
|
| }
|
|
|
| -
|
| /// Returns a 'check' function that uses comments in [test] to drive checking.
|
| ///
|
| /// The comments contains one or more 'present:' or 'absent:' tags, each
|
| @@ -281,14 +280,15 @@ checkerForAbsentPresent(String test) {
|
| String pattern = match.groups([2, 3]).where((s) => s != null).single;
|
| if (directive == 'present') {
|
| Expect.isTrue(generated.contains(pattern),
|
| - "Cannot find '$pattern' in:\n$generated");
|
| + "Cannot find '$pattern' in:\n$generated");
|
| } else {
|
| assert(directive == 'absent');
|
| Expect.isFalse(generated.contains(pattern),
|
| - "Must not find '$pattern' in:\n$generated");
|
| + "Must not find '$pattern' in:\n$generated");
|
| }
|
| }
|
| }
|
| +
|
| return checker;
|
| }
|
|
|
|
|