diff options
| author | Niko Matsakis <niko@alum.mit.edu> | 2012-09-19 17:46:38 -0700 |
|---|---|---|
| committer | Niko Matsakis <niko@alum.mit.edu> | 2012-09-19 17:47:13 -0700 |
| commit | ebd3203eaf12551ad7ab936db1615d59a4fedaae (patch) | |
| tree | 5ae00e4464fbec4cf7326a493909921b8410e18b /src/libstd/map.rs | |
| parent | 7bf0aa1c4367fd6904f68457233c360dafb27a93 (diff) | |
| download | rust-ebd3203eaf12551ad7ab936db1615d59a4fedaae.tar.gz rust-ebd3203eaf12551ad7ab936db1615d59a4fedaae.zip | |
repair broken map test; it seems that the original test relied on hokey
hash fns in order to setup conflicts. I just removed those asserts, so the test is not as good as it once was.
Diffstat (limited to 'src/libstd/map.rs')
| -rw-r--r-- | src/libstd/map.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libstd/map.rs b/src/libstd/map.rs index 1784a2cac43..3fab62261fc 100644 --- a/src/libstd/map.rs +++ b/src/libstd/map.rs @@ -658,9 +658,6 @@ mod tests { fn test_removal() { debug!("*** starting test_removal"); let num_to_insert: uint = 64u; - assert (hash(&0u) == hash(&1u)); - assert (hash(&2u) == hash(&3u)); - assert (hash(&0u) != hash(&2u)); let hm: map::HashMap<uint, uint> = map::HashMap::<uint, uint>(); let mut i: uint = 0u; |
