OLD | NEW |
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // Regression test for issue 14348. | 5 // Regression test for issue 14348. |
6 | 6 |
7 import "package:collection/equality.dart"; | 7 import "package:collection/equality.dart"; |
8 | 8 |
9 main() { | 9 main() { |
10 const Equality<Iterable> eq = const UnorderedIterableEquality(); | 10 const Equality<Iterable> eq = const UnorderedIterableEquality(); |
11 const Equality<Map<dynamic,Iterable>> mapeq = | 11 const Equality<Map<dynamic, Iterable>> mapeq = |
12 const MapEquality<dynamic, dynamic>(values: eq); | 12 const MapEquality<dynamic, dynamic>(values: eq); |
13 } | 13 } |
OLD | NEW |