Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(436)

Unified Diff: tests/compiler/dart2js/top_level_closure_tree_shake_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/token_naming_test.dart ('k') | tests/compiler/dart2js/tree_shaking_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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!'));
+ }),
+ ]));
}
« no previous file with comments | « tests/compiler/dart2js/token_naming_test.dart ('k') | tests/compiler/dart2js/tree_shaking_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698