Index: tests/compiler/dart2js_extra/lookup_map/discovered_code_test.dart |
diff --git a/tests/compiler/dart2js_extra/lookup_map/discovered_code_test.dart b/tests/compiler/dart2js_extra/lookup_map/discovered_code_test.dart |
index a20af7318600b32a72c6dab92cec17296f85fee4..745b7e3e451db34c31b8f1717cf6800266b7e140 100644 |
--- a/tests/compiler/dart2js_extra/lookup_map/discovered_code_test.dart |
+++ b/tests/compiler/dart2js_extra/lookup_map/discovered_code_test.dart |
@@ -5,17 +5,27 @@ |
import 'package:lookup_map/lookup_map.dart'; |
import 'package:expect/expect.dart'; |
-class A{ A(B x);} |
-class B{} |
-class C{} |
-class D{} |
-class E{} |
+class A { |
+ A(B x); |
+} |
+ |
+class B {} |
+ |
+class C {} |
+ |
+class D {} |
+ |
+class E {} |
+ |
createA() => new A(map[B][1]()); |
createB() => new B(); |
const map = const LookupMap(const [ |
- A, const ["the-text-for-A", createA], |
- B, const ["the-text-for-B", createB], |
- C, const ["the-text-for-C"], |
+ A, |
+ const ["the-text-for-A", createA], |
+ B, |
+ const ["the-text-for-B", createB], |
+ C, |
+ const ["the-text-for-C"], |
]); |
main() { |