about summary refs log tree commit diff
path: root/src/libcore/tests
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2018-01-04 15:03:50 +0000
committervarkor <github@varkor.com>2018-01-04 15:03:50 +0000
commit439beab41fb5162b26c075a7d7cb28662ba0ab7b (patch)
tree8085b2b814d9db02ba242063b89897f6786bf7ad /src/libcore/tests
parentf3baa8572917b6c326605853685a195f99c3b874 (diff)
Remove min from RangeFrom
Diffstat (limited to 'src/libcore/tests')
-rw-r--r--src/libcore/tests/iter.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libcore/tests/iter.rs b/src/libcore/tests/iter.rs
index 71a75115d86..c75417f8de9 100644
--- a/src/libcore/tests/iter.rs
+++ b/src/libcore/tests/iter.rs
@@ -1360,13 +1360,6 @@ fn test_range_max() {
 }
 
 #[test]
-fn test_range_from_min() {
-    assert_eq!((0..).min(), Some(0));
-    assert_eq!((-20..).min(), Some(-20));
-    assert_eq!((20..).min(), Some(20));
-}
-
-#[test]
 fn test_range_inc_last_max() {
     assert_eq!((0..=20).last(), Some(20));
     assert_eq!((-20..=0).last(), Some(0));