]> git.lizzy.rs Git - rust.git/commitdiff
Remove redundant tests
authorAlbin Hedman <albin9604@gmail.com>
Fri, 27 Nov 2020 10:46:49 +0000 (11:46 +0100)
committerAlbin Hedman <albin9604@gmail.com>
Fri, 27 Nov 2020 10:46:49 +0000 (11:46 +0100)
library/core/tests/array.rs
library/core/tests/lib.rs

index 9005e3d8f43e3f7e08189b155e73629a1bb1280b..89c2a969c28bb34af9ccfd5475a7064f4a36ba94 100644 (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")]
index 2daf2650b5822d4b534fdd7e38e703ae62c01f0e..1efb3b7411898c2200038b85e5a9b0a967e27018 100644 (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)]