| Index: tests/lib_strong/collection/hash_map_test.dart
|
| diff --git a/tests/lib_strong/collection/hash_map_test.dart b/tests/lib_strong/collection/hash_map_test.dart
|
| index f0f1d541a631d15859e05bb412e1a2e9a8a364b2..5a6b52e9f2878840943eb54315782578282e5664 100644
|
| --- a/tests/lib_strong/collection/hash_map_test.dart
|
| +++ b/tests/lib_strong/collection/hash_map_test.dart
|
| @@ -9,8 +9,8 @@ void main() {
|
| // Test customized maps.
|
| // Regression test for issue http://dartbug.com/18109
|
|
|
| - hash(s) => s.toLowerCase().hashCode;
|
| - equals(a, b) => a.toLowerCase() == b.toLowerCase();
|
| + int hash(s) => s.toLowerCase().hashCode;
|
| + bool equals(a, b) => a.toLowerCase() == b.toLowerCase();
|
|
|
| for (var m in [
|
| new HashMap<String,int>(equals: equals, hashCode: hash),
|
| @@ -25,8 +25,8 @@ void main() {
|
| }
|
| }
|
|
|
| - abshash(n) => n.abs();
|
| - abseq(a, b) => a.abs() == b.abs();
|
| + int abshash(n) => n.abs();
|
| + bool abseq(a, b) => a.abs() == b.abs();
|
| for (var m in [
|
| new HashMap<int,int>(equals: abseq, hashCode: abshash),
|
| new LinkedHashMap<int,int>(equals: abseq, hashCode: abshash),
|
|
|