From ebd3203eaf12551ad7ab936db1615d59a4fedaae Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 19 Sep 2012 17:46:38 -0700 Subject: [PATCH] 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. --- src/libstd/map.rs | 3 --- 1 file changed, 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 @@ fn test_growth() { 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 = map::HashMap::(); let mut i: uint = 0u; -- GitLab