Skip to content

Commit

Permalink
Unstub some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tamird committed Apr 29, 2015
1 parent 8073af7 commit f7947bc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/libcoretest/option.rs
Expand Up @@ -219,7 +219,6 @@ fn test_ord() {
assert!(big > None);
}

/* FIXME(#20575)
#[test]
fn test_collect() {
let v: Option<Vec<isize>> = (0..0).map(|_| Some(0)).collect();
Expand All @@ -241,7 +240,7 @@ fn test_collect() {

assert!(v == None);
}
*/


#[test]
fn test_cloned() {
Expand Down
2 changes: 0 additions & 2 deletions src/libcoretest/result.rs
Expand Up @@ -65,7 +65,6 @@ fn test_impl_map_err() {
assert!(Err::<isize, isize>(1).map_err(|x| x + 1) == Err(2));
}

/* FIXME(#20575)
#[test]
fn test_collect() {
let v: Result<Vec<isize>, ()> = (0..0).map(|_| Ok::<isize, ()>(0)).collect();
Expand All @@ -86,7 +85,6 @@ fn test_collect() {
let v: Result<Vec<()>, isize> = functions.iter_mut().map(|f| (*f)()).collect();
assert!(v == Err(1));
}
*/

#[test]
fn test_fmt_default() {
Expand Down

0 comments on commit f7947bc

Please sign in to comment.