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

Unified Diff: tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_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/live_entry_through_mirrors_test.dart
diff --git a/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_test.dart b/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_test.dart
index 9ad99cfc0fd05d4e21dc2f3e89df35d597217a7a..7649246510f9693d3d8ef11fb3fbb64d15c8f437 100644
--- a/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_test.dart
+++ b/tests/compiler/dart2js_extra/lookup_map/live_entry_through_mirrors_test.dart
@@ -8,11 +8,15 @@ import 'package:lookup_map/lookup_map.dart';
import 'package:expect/expect.dart';
import 'dart:mirrors';
-class A{}
-class B{}
+class A {}
+
+class B {}
+
const map = const LookupMap(const [
- A, "the-text-for-A",
- B, "the-text-for-B",
+ A,
+ "the-text-for-A",
+ B,
+ "the-text-for-B",
]);
main() {
@@ -22,8 +26,8 @@ main() {
// `B` is used via mirrors. Because no @MirrorsUsed was found that's enough to
// retain the entry.
- LibraryMirror lib = currentMirrorSystem().findLibrary(
- #live_entry_through_mirrors_test);
+ LibraryMirror lib =
+ currentMirrorSystem().findLibrary(#live_entry_through_mirrors_test);
ClassMirror bClass = lib.declarations[#B];
Expect.equals(map[bClass.reflectedType], "the-text-for-B");
}

Powered by Google App Engine
This is Rietveld 408576698