about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBarosl LEE <github@barosl.com>2015-01-21 02:16:46 +0900
committerBarosl LEE <github@barosl.com>2015-01-21 02:16:46 +0900
commit8f5ab04b472622fcc3e61877c73298ac293e849e (patch)
treed137316a5a210065005083a2d6e4fb5aff061f0b
parentd8a892303cab952b1af787122e5551bce95d8770 (diff)
parent35d46fabaf63c0b1b607bd91cd5680eeaa2f9a14 (diff)
downloadrust-8f5ab04b472622fcc3e61877c73298ac293e849e.tar.gz
rust-8f5ab04b472622fcc3e61877c73298ac293e849e.zip
Rollup merge of #21302 - gutworth:rm-find-equiv-test, r=brson
-rw-r--r--src/libstd/collections/hash/map.rs17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/libstd/collections/hash/map.rs b/src/libstd/collections/hash/map.rs
index 80ae3076df3..d3ac632617d 100644
--- a/src/libstd/collections/hash/map.rs
+++ b/src/libstd/collections/hash/map.rs
@@ -2113,23 +2113,6 @@ mod test_map {
     }
 
     #[test]
-    fn test_find_equiv() {
-        let mut m = HashMap::new();
-
-        let (foo, bar, baz) = (1i,2i,3i);
-        m.insert("foo".to_string(), foo);
-        m.insert("bar".to_string(), bar);
-        m.insert("baz".to_string(), baz);
-
-
-        assert_eq!(m.get("foo"), Some(&foo));
-        assert_eq!(m.get("bar"), Some(&bar));
-        assert_eq!(m.get("baz"), Some(&baz));
-
-        assert_eq!(m.get("qux"), None);
-    }
-
-    #[test]
     fn test_from_iter() {
         let xs = [(1i, 1i), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)];