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

Unified Diff: tests/compiler/dart2js/size_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/size_test.dart
diff --git a/tests/compiler/dart2js/size_test.dart b/tests/compiler/dart2js/size_test.dart
index 48bf71b87e603a2b66afb32a003935b661b0c9a4..74f51068ae3a6f4f8c1d99afb1182653ff33973e 100644
--- a/tests/compiler/dart2js/size_test.dart
+++ b/tests/compiler/dart2js/size_test.dart
@@ -26,13 +26,13 @@ const Map<String, String> DEFAULT_CORELIB_WITH_LIST = const <String, String>{
};
main() {
- asyncTest(() => compileAll(TEST, coreSource: DEFAULT_CORELIB_WITH_LIST).
- then((generated) {
- return MockCompiler.create((MockCompiler compiler) {
- var backend = compiler.backend;
+ asyncTest(() =>
+ compileAll(TEST, coreSource: DEFAULT_CORELIB_WITH_LIST).then((generated) {
+ return MockCompiler.create((MockCompiler compiler) {
+ var backend = compiler.backend;
- // Make sure no class is emitted.
- Expect.isFalse(generated.contains('finishClasses'));
- });
- }));
+ // Make sure no class is emitted.
+ Expect.isFalse(generated.contains('finishClasses'));
+ });
+ }));
}

Powered by Google App Engine
This is Rietveld 408576698