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

Unified Diff: tests/compiler/dart2js/static_closure_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/ssa_phi_codegen_test.dart ('k') | tests/compiler/dart2js/stats_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/static_closure_test.dart
diff --git a/tests/compiler/dart2js/static_closure_test.dart b/tests/compiler/dart2js/static_closure_test.dart
index 5bf9171cf4ad0823ef06e60e0bbc1242ff460979..f2428061c2b5766e208a52cb224529b06788db9c 100644
--- a/tests/compiler/dart2js/static_closure_test.dart
+++ b/tests/compiler/dart2js/static_closure_test.dart
@@ -10,14 +10,16 @@ import 'compiler_helper.dart';
main() {
asyncTest(() => compileAll(r'''main() { print(main); }''').then((code) {
- // At some point, we will have to closurize global functions
- // differently, at which point this test will break. Then it is time
- // to implement a way to call a Dart closure from JS foreign
- // functions.
+ // At some point, we will have to closurize global functions
+ // differently, at which point this test will break. Then it is time
+ // to implement a way to call a Dart closure from JS foreign
+ // functions.
- // If this test fail, please take a look at the use of
- // toStringWrapper in captureStackTrace in js_helper.dart.
- Expect.isTrue(code.contains(
- new RegExp(r'print\([$A-Z]+\.lib___main\$closure\(\)\);')), code);
- }));
+ // If this test fail, please take a look at the use of
+ // toStringWrapper in captureStackTrace in js_helper.dart.
+ Expect.isTrue(
+ code.contains(
+ new RegExp(r'print\([$A-Z]+\.lib___main\$closure\(\)\);')),
+ code);
+ }));
}
« no previous file with comments | « tests/compiler/dart2js/ssa_phi_codegen_test.dart ('k') | tests/compiler/dart2js/stats_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698