mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-08 16:07:43 +00:00
Fix some vector function failure tests. Closes #8698
This commit is contained in:
parent
2c0f9bd354
commit
4c5f62539b
@ -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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user