diff options
| author | Brian Anderson <banderson@mozilla.com> | 2013-08-22 21:29:50 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2013-08-23 14:49:17 -0700 |
| commit | 4c5f62539b51c6c8f45bd8e2e79b81fd1480906a (patch) | |
| tree | 4b66d3249d75cf37ba03ff61ee868d96962378d2 /src/libstd | |
| parent | 2c0f9bd35493def5e23f0f43ddeba54da9d788b4 (diff) | |
| download | rust-4c5f62539b51c6c8f45bd8e2e79b81fd1480906a.tar.gz rust-4c5f62539b51c6c8f45bd8e2e79b81fd1480906a.zip | |
Fix some vector function failure tests. Closes #8698
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/vec.rs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/libstd/vec.rs b/src/libstd/vec.rs index f196cf423c1..5bedaa2e29a 100644 --- a/src/libstd/vec.rs +++ b/src/libstd/vec.rs @@ -3154,7 +3154,6 @@ mod tests { } } - #[ignore] // FIXME #8698 #[test] #[should_fail] fn test_map_fail() { @@ -3164,12 +3163,11 @@ mod tests { if i == 2 { fail!() } - i += 0; + i += 1; ~[(~0, @0)] }; } - #[ignore] // FIXME #8698 #[test] #[should_fail] fn test_flat_map_fail() { @@ -3179,12 +3177,11 @@ mod tests { if i == 2 { fail!() } - i += 0; + i += 1; ~[(~0, @0)] }; } - #[ignore] // FIXME #8698 #[test] #[should_fail] fn test_rposition_fail() { @@ -3194,12 +3191,11 @@ mod tests { if i == 2 { fail!() } - i += 0; + i += 1; false }; } - #[ignore] // FIXME #8698 #[test] #[should_fail] fn test_permute_fail() { @@ -3209,7 +3205,7 @@ mod tests { if i == 2 { fail!() } - i += 0; + i += 1; true }; } |
