| Index: tests/lib_strong/collection/hash_set_test.dart
|
| diff --git a/tests/lib_strong/collection/hash_set_test.dart b/tests/lib_strong/collection/hash_set_test.dart
|
| index ab03284ea075001fe9d5ecb85a5297eac2b2f317..c8ede1f9aa1997ed7ae1e1a0e4f6e589a92a1f05 100644
|
| --- a/tests/lib_strong/collection/hash_set_test.dart
|
| +++ b/tests/lib_strong/collection/hash_set_test.dart
|
| @@ -9,8 +9,8 @@ void main() {
|
| // Test customized sets.
|
| // 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 HashSet<String>(equals: equals, hashCode: hash),
|
| @@ -27,8 +27,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 HashSet<int>(equals: abseq, hashCode: abshash),
|
| new LinkedHashSet<int>(equals: abseq, hashCode: abshash),
|
|
|