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 b059f32b8c4b777d4c5577cd6aeaf17e2158f871..495f2d9044c73e2caa6849f748bcede0ebd12c41 100644 |
--- a/tests/compiler/dart2js/no_constructor_body_test.dart |
+++ b/tests/compiler/dart2js/no_constructor_body_test.dart |
@@ -19,7 +19,7 @@ main() { |
main() { |
asyncTest(() => compileAll(TEST).then((generated) { |
- Expect.isTrue(generated.contains( |
- new RegExp('A: {[ \n]*"\\^": "Object;",[ \n]*static:'))); |
- })); |
+ Expect.isTrue(generated |
+ .contains(new RegExp('A: {[ \n]*"\\^": "Object;",[ \n]*static:'))); |
+ })); |
} |