Skip to content

Commit dac6cd7

Browse files
committed
deleted a test that uses the function contains of a range
1 parent 8a7c12b commit dac6cd7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

library/core/tests/iter/traits/iterator.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -676,11 +676,6 @@ fn test_string_iterator_contains_str_slice() {
676676
assert!(!["a".to_owned(), "b".to_owned(), "c".to_owned()].iter().contains(&"d"));
677677
}
678678

679-
#[test]
680-
fn test_edge_case_handling_iterator_with_large_number_of_elements() {
681-
assert!((1..1000).contains(500i32));
682-
}
683-
684679
// just tests by whether or not this compiles
685680
fn _empty_impl_all_auto_traits<T>() {
686681
use std::panic::{RefUnwindSafe, UnwindSafe};

0 commit comments

Comments
 (0)