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

Unified Diff: tests/compiler/dart2js/field_update_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
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++;'));
« no previous file with comments | « tests/compiler/dart2js/field_type_simple_inferer_test.dart ('k') | tests/compiler/dart2js/find_my_name_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698