Skip to content

Commit

Permalink
remove test_find_equiv, since find_equiv doesn't exist anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminp committed Jan 17, 2015
1 parent 89c4e37 commit 35d46fa
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/libstd/collections/hash/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2112,23 +2112,6 @@ mod test_map {
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)];
Expand Down

5 comments on commit 35d46fa

@bors
Copy link
Contributor

@bors bors commented on 35d46fa Jan 18, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from brson
at benjaminp@35d46fa

@bors
Copy link
Contributor

@bors bors commented on 35d46fa Jan 18, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging 6 batched pull requests into batch

@bors
Copy link
Contributor

@bors bors commented on 35d46fa Jan 18, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

status: {"merge_sha": "b7fd822592a4fb577552d93010c4a4e14f314346", "rollup_pulls": [[21302, "35d46fabaf63c0b1b607bd91cd5680eeaa2f9a14"], [21314, "5aa2f9c651546d420c8da551b3d95849f4ade310"], [21326, "ac4baca72a392bf683d513e5cd3aa00b01f5e7a8"], [21336, "b6b8880f0ec3f057dc56320f6886be173a8f0d8e"], [21355, "5431727b6e521548419ec2606ef22ffa43097f72"], [21357, "17ffe51aa366d51719da0eeb452ad05b9ac23d90"]]}

@bors
Copy link
Contributor

@bors bors commented on 35d46fa Jan 18, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing rollup candidate = b7fd822

Successful merges:

Please sign in to comment.