Index: tests/compiler/dart2js/class_codegen_test.dart |
diff --git a/tests/compiler/dart2js/class_codegen_test.dart b/tests/compiler/dart2js/class_codegen_test.dart |
index 58c49bd68802c04ba41fbc0626c022b81c0f8564..d7444689860aeac9c57aad0231af3c2e1b2fc2e4 100644 |
--- a/tests/compiler/dart2js/class_codegen_test.dart |
+++ b/tests/compiler/dart2js/class_codegen_test.dart |
@@ -65,9 +65,11 @@ main() { |
twoClasses() { |
asyncTest(() => compileAll(TEST_ONE).then((generated) { |
- Expect.isTrue(generated.contains(new RegExp('A: {[ \n]*"\\^": "Object;"'))); |
- Expect.isTrue(generated.contains(new RegExp('B: {[ \n]*"\\^": "Object;"'))); |
- })); |
+ Expect.isTrue( |
+ generated.contains(new RegExp('A: {[ \n]*"\\^": "Object;"'))); |
+ Expect.isTrue( |
+ generated.contains(new RegExp('B: {[ \n]*"\\^": "Object;"'))); |
+ })); |
} |
subClass() { |
@@ -82,15 +84,15 @@ subClass() { |
fieldTest() { |
asyncTest(() => compileAll(TEST_FOUR).then((generated) { |
- Expect.isTrue(generated.contains( |
- new RegExp('B: {[ \n]*"\\^": "A;y,z,x",[ \n]*static:'))); |
- })); |
+ Expect.isTrue(generated |
+ .contains(new RegExp('B: {[ \n]*"\\^": "A;y,z,x",[ \n]*static:'))); |
+ })); |
} |
constructor1() { |
asyncTest(() => compileAll(TEST_FIVE).then((generated) { |
- Expect.isTrue(generated.contains(new RegExp(r"new [$A-Z]+\.A\(a\);"))); |
- })); |
+ Expect.isTrue(generated.contains(new RegExp(r"new [$A-Z]+\.A\(a\);"))); |
+ })); |
} |
main() { |