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

Unified Diff: pkg/dev_compiler/test/codegen/map_keys.dart

Issue 2752163002: Format all dart dev compiler files (Closed)
Patch Set: Created 3 years, 9 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 | « pkg/dev_compiler/test/codegen/js_test.dart ('k') | pkg/dev_compiler/test/codegen/node_modules.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/test/codegen/map_keys.dart
diff --git a/pkg/dev_compiler/test/codegen/map_keys.dart b/pkg/dev_compiler/test/codegen/map_keys.dart
index 4cb59fb9029316915a69f6ae99ff80b64bb44096..0bb6e005ed696c9e5bac08ab817afdd42142c768 100644
--- a/pkg/dev_compiler/test/codegen/map_keys.dart
+++ b/pkg/dev_compiler/test/codegen/map_keys.dart
@@ -3,16 +3,17 @@
// (this is used so we're covering it in at least one test)
import 'dart:math' show Random;
+
main() {
// Uses a JS object literal
- print({ '1': 2, '3': 4, '5': 6 });
+ print({'1': 2, '3': 4, '5': 6});
// Uses array literal
- print({ 1: 2, 3: 4, 5: 6 });
+ print({1: 2, 3: 4, 5: 6});
// Uses ES6 enhanced object literal
- print({ '1': 2, '${new Random().nextInt(2) + 2}': 4, '5': 6 });
+ print({'1': 2, '${new Random().nextInt(2) + 2}': 4, '5': 6});
String x = '3';
// Could use enhanced object literal if we knew `x` was not null
- print({ '1': 2, x: 4, '5': 6 });
+ print({'1': 2, x: 4, '5': 6});
// Array literal
- print({ '1': 2, null: 4, '5': 6 });
+ print({'1': 2, null: 4, '5': 6});
}
« no previous file with comments | « pkg/dev_compiler/test/codegen/js_test.dart ('k') | pkg/dev_compiler/test/codegen/node_modules.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698