Remove redundant tests
This commit is contained in:
parent
3b8617b9b6
commit
2f35fb1e11
@ -317,14 +317,6 @@ fn array_map() {
|
||||
assert_eq!(b, [1, 2, 3]);
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn array_zip() {
|
||||
let a = [1, 2, 3];
|
||||
let b = [4, 5, 6];
|
||||
let c = a.zip(b);
|
||||
assert_eq!(c, [(1, 4), (2, 5), (3, 6)]);
|
||||
}
|
||||
|
||||
// See note on above test for why `should_panic` is used.
|
||||
#[test]
|
||||
#[should_panic(expected = "test succeeded")]
|
||||
|
@ -3,7 +3,6 @@
|
||||
#![feature(array_from_ref)]
|
||||
#![feature(array_methods)]
|
||||
#![feature(array_map)]
|
||||
#![feature(array_zip)]
|
||||
#![feature(array_windows)]
|
||||
#![feature(bool_to_option)]
|
||||
#![feature(bound_cloned)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user