diff options
| author | Albin Hedman <albin9604@gmail.com> | 2020-11-27 11:46:49 +0100 |
|---|---|---|
| committer | Albin Hedman <albin9604@gmail.com> | 2020-11-27 11:46:49 +0100 |
| commit | 2f35fb1e116d5da9e851c1a298390078ea7089ed (patch) | |
| tree | 859b6ffd13351db59517672a200866cba4a82202 | |
| parent | 3b8617b9b6718f04d412ffae52337053e79c3c6b (diff) | |
| download | rust-2f35fb1e116d5da9e851c1a298390078ea7089ed.tar.gz rust-2f35fb1e116d5da9e851c1a298390078ea7089ed.zip | |
Remove redundant tests
| -rw-r--r-- | library/core/tests/array.rs | 8 | ||||
| -rw-r--r-- | library/core/tests/lib.rs | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/library/core/tests/array.rs b/library/core/tests/array.rs index 9005e3d8f43..89c2a969c28 100644 --- a/library/core/tests/array.rs +++ b/library/core/tests/array.rs @@ -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")] diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs index 2daf2650b58..1efb3b74118 100644 --- a/library/core/tests/lib.rs +++ b/library/core/tests/lib.rs @@ -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)] |
