Remove redundant tests

This commit is contained in:
Albin Hedman 2020-11-27 11:46:49 +01:00
parent 3b8617b9b6
commit 2f35fb1e11
2 changed files with 0 additions and 9 deletions

View File

@ -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")]

View File

@ -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)]