From cee33ee1e868e2542d97f645598181ae2071dfd5 Mon Sep 17 00:00:00 2001 From: Ulrik Sverdrup Date: Tue, 30 Jul 2024 17:34:36 +0200 Subject: [PATCH] Remove disabled and now-redundant tests --- tests/tests.rs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/tests/tests.rs b/tests/tests.rs index 2f8a5ef..16508b7 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -695,20 +695,6 @@ fn test_default() { assert_eq!(v.len(), 0); } -#[cfg(feature="array-sizes-33-128")] -#[test] -fn test_sizes_33_128() { - ArrayVec::from([0u8; 52]); - ArrayVec::from([0u8; 127]); -} - -#[cfg(feature="array-sizes-129-255")] -#[test] -fn test_sizes_129_255() { - ArrayVec::from([0u8; 237]); - ArrayVec::from([0u8; 255]); -} - #[test] fn test_extend_zst() { let mut range = 0..10; @@ -790,4 +776,4 @@ fn test_arraystring_zero_filled_has_some_sanity_checks() { let string = ArrayString::<4>::zero_filled(); assert_eq!(string.as_str(), "\0\0\0\0"); assert_eq!(string.len(), 4); -} \ No newline at end of file +}