Index: tests/compiler/dart2js/field_update_test.dart |
diff --git a/tests/compiler/dart2js/field_update_test.dart b/tests/compiler/dart2js/field_update_test.dart |
index f5a93bae397e71dd00f90e095660f18d259afb41..c81422a0814b1f34115c413a7e4f956bf9623367 100644 |
--- a/tests/compiler/dart2js/field_update_test.dart |
+++ b/tests/compiler/dart2js/field_update_test.dart |
@@ -80,12 +80,11 @@ void main() { |
} |
"""; |
- |
main() { |
test(String code, Function f) { |
asyncTest(() => compileAll(code, disableInlining: true).then((generated) { |
- Expect.isTrue(f(generated)); |
- })); |
+ Expect.isTrue(f(generated)); |
+ })); |
} |
test(TEST_1, (generated) => generated.contains(r'return this.a++;')); |