Fix some vector function failure tests. Closes #8698

This commit is contained in:
Brian Anderson 2013-08-22 21:29:50 -07:00
parent 2c0f9bd354
commit 4c5f62539b

View File

@ -3154,7 +3154,6 @@ mod tests {
} }
} }
#[ignore] // FIXME #8698
#[test] #[test]
#[should_fail] #[should_fail]
fn test_map_fail() { fn test_map_fail() {
@ -3164,12 +3163,11 @@ mod tests {
if i == 2 { if i == 2 {
fail!() fail!()
} }
i += 0; i += 1;
~[(~0, @0)] ~[(~0, @0)]
}; };
} }
#[ignore] // FIXME #8698
#[test] #[test]
#[should_fail] #[should_fail]
fn test_flat_map_fail() { fn test_flat_map_fail() {
@ -3179,12 +3177,11 @@ mod tests {
if i == 2 { if i == 2 {
fail!() fail!()
} }
i += 0; i += 1;
~[(~0, @0)] ~[(~0, @0)]
}; };
} }
#[ignore] // FIXME #8698
#[test] #[test]
#[should_fail] #[should_fail]
fn test_rposition_fail() { fn test_rposition_fail() {
@ -3194,12 +3191,11 @@ mod tests {
if i == 2 { if i == 2 {
fail!() fail!()
} }
i += 0; i += 1;
false false
}; };
} }
#[ignore] // FIXME #8698
#[test] #[test]
#[should_fail] #[should_fail]
fn test_permute_fail() { fn test_permute_fail() {
@ -3209,7 +3205,7 @@ mod tests {
if i == 2 { if i == 2 {
fail!() fail!()
} }
i += 0; i += 1;
true true
}; };
} }