Index: tests/compiler/dart2js/top_level_closure_tree_shake_test.dart |
diff --git a/tests/compiler/dart2js/top_level_closure_tree_shake_test.dart b/tests/compiler/dart2js/top_level_closure_tree_shake_test.dart |
index 6c3ae37a0e688c5814c82f10f5349baebf4f1ae6..158a1bc482f0f0ccac9b1e4e181a6786666a204f 100644 |
--- a/tests/compiler/dart2js/top_level_closure_tree_shake_test.dart |
+++ b/tests/compiler/dart2js/top_level_closure_tree_shake_test.dart |
@@ -26,13 +26,12 @@ use(x) { |
} |
"""; |
- |
main() { |
asyncTest(() => Future.wait([ |
- compileAll(TEST_ONE).then((String generated) { |
- Expect.isFalse(generated.contains('Tarantula!'), |
- "failed to remove 'foo'"); |
- Expect.isTrue(generated.contains('Coelacanth!')); |
- }), |
- ])); |
+ compileAll(TEST_ONE).then((String generated) { |
+ Expect.isFalse( |
+ generated.contains('Tarantula!'), "failed to remove 'foo'"); |
+ Expect.isTrue(generated.contains('Coelacanth!')); |
+ }), |
+ ])); |
} |