| Index: tests/compiler/dart2js/no_constructor_body_test.dart
|
| diff --git a/tests/compiler/dart2js/no_constructor_body_test.dart b/tests/compiler/dart2js/no_constructor_body_test.dart
|
| index 0a3b388ce1f32e753dfcb9492b54afcbd1f31546..ddafc6c6220d2c29f62e75c5d6edc6963278e6a8 100644
|
| --- a/tests/compiler/dart2js/no_constructor_body_test.dart
|
| +++ b/tests/compiler/dart2js/no_constructor_body_test.dart
|
| @@ -19,6 +19,7 @@ main() {
|
|
|
| main() {
|
| asyncTest(() => compileAll(TEST).then((generated) {
|
| - Expect.isTrue(generated.contains('A: {"": "Object;", static:'));
|
| + Expect.isTrue(generated.contains(
|
| + new RegExp('A: {[ \n]*"": "Object;",[ \n]*static:')));
|
| }));
|
| }
|
|
|