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

Unified Diff: tests/compiler/dart2js_extra/lookup_map/reachable_data2_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_data2_test.dart
diff --git a/tests/compiler/dart2js_extra/lookup_map/reachable_data2_test.dart b/tests/compiler/dart2js_extra/lookup_map/reachable_data2_test.dart
index 9c824302156be09d3350d56c438de17050f53d92..d73c468a5954fe608c83ab3dde6404543d9cf9de 100644
--- a/tests/compiler/dart2js_extra/lookup_map/reachable_data2_test.dart
+++ b/tests/compiler/dart2js_extra/lookup_map/reachable_data2_test.dart
@@ -5,18 +5,27 @@
import 'package:lookup_map/lookup_map.dart';
import 'package:expect/expect.dart';
-class Key { final x; const Key(this.x); }
+class Key {
+ final x;
+ const Key(this.x);
+}
+
const A = const Key(1);
const B = const Key(2);
const C = const Key(3);
const D = const Key(4);
const E = const Key(5);
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