| Index: tests/compiler/dart2js/static_closure_test.dart
|
| diff --git a/tests/compiler/dart2js/static_closure_test.dart b/tests/compiler/dart2js/static_closure_test.dart
|
| index 42bd12eb1e93f9f9ab398d57e9a95f608c181e8c..c78c757069cce6e9989d0dd147985244ee467faa 100644
|
| --- a/tests/compiler/dart2js/static_closure_test.dart
|
| +++ b/tests/compiler/dart2js/static_closure_test.dart
|
| @@ -16,5 +16,5 @@ main() {
|
|
|
| // If this test fail, please take a look at the use of
|
| // toStringWrapper in captureStackTrace in js_helper.dart.
|
| - Expect.isTrue(code.contains(r'print($.main);'));
|
| + Expect.isTrue(new RegExp(r'p(rint)?\(\$.m(ain)?\);').hasMatch(code));
|
| }
|
|
|