about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Piziak <matthew.piziak@gmail.com>2016-10-09 06:35:42 -0400
committerMatthew Piziak <matthew.piziak@gmail.com>2016-10-09 06:35:42 -0400
commita802ec1f65bc5588c643af4684203d940a52727d (patch)
tree117eb3dcace2320167fe02ac6c0f02f4e3cda1e4
parentdc607deac7293e9fa767248fa2613f65a8c6a849 (diff)
parent065bf4ba06dd7fc9bab64a49ab92126636b926a3 (diff)
downloadrust-a802ec1f65bc5588c643af4684203d940a52727d.tar.gz
rust-a802ec1f65bc5588c643af4684203d940a52727d.zip
Merge branch 'silent-overflow' of github.com:matthew-piziak/rust into silent-overflow
-rw-r--r--src/libcoretest/iter.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/libcoretest/iter.rs b/src/libcoretest/iter.rs
index 7671ef2e8b9..27eb25537f3 100644
--- a/src/libcoretest/iter.rs
+++ b/src/libcoretest/iter.rs
@@ -916,20 +916,6 @@ fn test_range_step() {
 }
 
 #[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);
     assert_eq!(it.next(), Some(42));