diff options
| author | Benjamin Peterson <benjamin@python.org> | 2015-01-17 11:29:24 -0500 |
|---|---|---|
| committer | Benjamin Peterson <benjamin@python.org> | 2015-01-17 11:29:24 -0500 |
| commit | 35d46fabaf63c0b1b607bd91cd5680eeaa2f9a14 (patch) | |
| tree | ebd154ca52aacabd8c165f41c62577820cc4cf77 /src/libstd | |
| parent | 89c4e3792ddc5b45706ea0e919806a248f7a87c3 (diff) | |
| download | rust-35d46fabaf63c0b1b607bd91cd5680eeaa2f9a14.tar.gz rust-35d46fabaf63c0b1b607bd91cd5680eeaa2f9a14.zip | |
remove test_find_equiv, since find_equiv doesn't exist anymore
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/collections/hash/map.rs | 17 |
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)]; |
