Skip to content

Commit c199141

Browse files
committed
---
yaml --- r: 611 b: refs/heads/master c: 1035ad9 h: refs/heads/master i: 609: 715c3cb 607: fc731d4 v: v3
1 parent 0b56393 commit c199141

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 66b5b9567c031aa5f23842a55a0b54c88fbe437b
2+
refs/heads/master: 1035ad93dd7c77c48359c0d1bfc5299e7aaacb1e

trunk/src/test/run-pass/lib-map.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ fn test_removal() {
102102
ret (u / 2u) * 2u;
103103
}
104104

105+
check (hash(0u) == hash(1u));
106+
check (hash(2u) == hash(3u));
107+
check (hash(0u) != hash(2u));
108+
105109
let map.hashfn[uint] hasher = hash;
106110
let map.eqfn[uint] eqer = eq;
107111
let map.hashmap[uint, uint] hm = map.mk_hashmap[uint, uint](hasher, eqer);

0 commit comments

Comments
 (0)