1
Fork 0

remove non-run-fail tests

This commit is contained in:
Matthew Piziak 2016-09-13 11:12:23 -04:00
parent 19fd7fcce9
commit 065bf4ba06

View file

@ -915,20 +915,6 @@ fn test_range_step() {
assert_eq!((isize::MIN..isize::MAX).step_by(1).size_hint(), (usize::MAX, Some(usize::MAX)));
}
#[test]
#[should_panic]
fn test_range_overflow_unsigned() {
let mut it = u8::MAX..;
it.next();
}
#[test]
#[should_panic]
fn test_range_overflow_signed() {
let mut it = i8::MAX..;
it.next();
}
#[test]
fn test_repeat() {
let mut it = repeat(42);