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

Unified Diff: tests/compiler/dart2js_extra/lookup_map/entries_aside_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/entries_aside_test.dart
diff --git a/tests/compiler/dart2js_extra/lookup_map/entries_aside_test.dart b/tests/compiler/dart2js_extra/lookup_map/entries_aside_test.dart
index 6f7241892fc389c9b534b17b49f50c894af80d0b..e8caff34699088140580d4bba58d25c1e639c056 100644
--- a/tests/compiler/dart2js_extra/lookup_map/entries_aside_test.dart
+++ b/tests/compiler/dart2js_extra/lookup_map/entries_aside_test.dart
@@ -5,13 +5,17 @@
import 'package:lookup_map/lookup_map.dart';
import 'package:expect/expect.dart';
-class A{}
-class B{}
+class A {}
+
+class B {}
+
const entries = const [
- A, "the-text-for-A",
- B, "the-text-for-B",
+ A,
+ "the-text-for-A",
+ B,
+ "the-text-for-B",
];
-const map = const LookupMap(entries );
+const map = const LookupMap(entries);
main() {
Expect.equals(map[A], 'the-text-for-A');

Powered by Google App Engine
This is Rietveld 408576698