remove test_find_equiv, since find_equiv doesn't exist anymore

This commit is contained in:
Benjamin Peterson 2015-01-17 11:29:24 -05:00
parent 89c4e3792d
commit 35d46fabaf

View File

@ -2112,23 +2112,6 @@ fn test_reserve_shrink_to_fit() {
assert_eq!(m.remove(&0), Some(0));
}
#[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)];