Remove disabled and now-redundant tests
This commit is contained in:
+1
-15
@@ -695,20 +695,6 @@ fn test_default() {
|
|||||||
assert_eq!(v.len(), 0);
|
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]
|
#[test]
|
||||||
fn test_extend_zst() {
|
fn test_extend_zst() {
|
||||||
let mut range = 0..10;
|
let mut range = 0..10;
|
||||||
@@ -790,4 +776,4 @@ fn test_arraystring_zero_filled_has_some_sanity_checks() {
|
|||||||
let string = ArrayString::<4>::zero_filled();
|
let string = ArrayString::<4>::zero_filled();
|
||||||
assert_eq!(string.as_str(), "\0\0\0\0");
|
assert_eq!(string.as_str(), "\0\0\0\0");
|
||||||
assert_eq!(string.len(), 4);
|
assert_eq!(string.len(), 4);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user