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

Unified Diff: tests/compiler/dart2js_extra/lookup_map/reachable_data_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_extra/lookup_map/reachable_data_test.dart
diff --git a/tests/compiler/dart2js_extra/lookup_map/reachable_data_test.dart b/tests/compiler/dart2js_extra/lookup_map/reachable_data_test.dart
index 8e71ea7ec1899ec5a09fc601916046a40847aa2c..edbcd979abae9b8bb6d7bc7199e4a24b3d04610e 100644
--- a/tests/compiler/dart2js_extra/lookup_map/reachable_data_test.dart
+++ b/tests/compiler/dart2js_extra/lookup_map/reachable_data_test.dart
@@ -5,17 +5,27 @@
import 'package:lookup_map/lookup_map.dart';
import 'package:expect/expect.dart';
-class A{}
-class B{}
-class C{}
-class D{}
-class E{}
+class A {}
+
+class B {}
+
+class C {}
+
+class D {}
+
+class E {}
+
const map = const LookupMap(const [
- A, const ["the-text-for-A", B],
- B, const ["the-text-for-B", C],
- C, const ["the-text-for-C"],
- D, const ["the-text-for-D", E],
- E, const ["the-text-for-E"],
+ A,
+ const ["the-text-for-A", B],
+ B,
+ const ["the-text-for-B", C],
+ C,
+ const ["the-text-for-C"],
+ D,
+ const ["the-text-for-D", E],
+ E,
+ const ["the-text-for-E"],
]);
main() {
Expect.equals(map[map[A][1]][0], 'the-text-for-B');

Powered by Google App Engine
This is Rietveld 408576698