Skip to content

Commit 065bf4b

Browse files
remove non-run-fail tests
1 parent 19fd7fc commit 065bf4b

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/libcoretest/iter.rs

-14
Original file line numberDiff line numberDiff line change
@@ -915,20 +915,6 @@ fn test_range_step() {
915915
assert_eq!((isize::MIN..isize::MAX).step_by(1).size_hint(), (usize::MAX, Some(usize::MAX)));
916916
}
917917

918-
#[test]
919-
#[should_panic]
920-
fn test_range_overflow_unsigned() {
921-
let mut it = u8::MAX..;
922-
it.next();
923-
}
924-
925-
#[test]
926-
#[should_panic]
927-
fn test_range_overflow_signed() {
928-
let mut it = i8::MAX..;
929-
it.next();
930-
}
931-
932918
#[test]
933919
fn test_repeat() {
934920
let mut it = repeat(42);

0 commit comments

Comments
 (0)