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

Unified Diff: tests/compiler/dart2js_extra/lookup_map/subclass_lookup_map_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: 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/subclass_lookup_map_test.dart
diff --git a/tests/compiler/dart2js_extra/lookup_map/subclass_lookup_map_test.dart b/tests/compiler/dart2js_extra/lookup_map/subclass_lookup_map_test.dart
index ebf74160243df6b9a64ead7a148946eb5333c156..43a3a770cf2ecf4ff6bafc7715be56884b11b7d2 100644
--- a/tests/compiler/dart2js_extra/lookup_map/subclass_lookup_map_test.dart
+++ b/tests/compiler/dart2js_extra/lookup_map/subclass_lookup_map_test.dart
@@ -4,15 +4,16 @@
import 'package:lookup_map/lookup_map.dart';
import 'package:expect/expect.dart';
-class A{}
-class B{}
+
+class A {}
+
+class B {}
+
class S extends LookupMap {
const S(list) : super(list);
}
-const map = const S(const [
- A, "the-text-for-A",
- B, "the-text-for-B",
-]);
+
+const map = const S(const [A, "the-text-for-A", B, "the-text-for-B",]);
main() {
Expect.equals(map[A], "the-text-for-A");

Powered by Google App Engine
This is Rietveld 408576698