| 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');
|
|
|