Skip to content

Commit

Permalink
reduce size of test_from_iter_specialization_with_iterator_adapters t…
Browse files Browse the repository at this point in the history
…est in Miri
  • Loading branch information
RalfJung committed Sep 15, 2020
1 parent 07ece44 commit d888725
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/alloc/tests/vec.rs
Expand Up @@ -894,7 +894,7 @@ fn test_from_iter_partially_drained_in_place_specialization() {
#[test]
fn test_from_iter_specialization_with_iterator_adapters() {
fn assert_in_place_trait<T: InPlaceIterable>(_: &T) {};
let src: Vec<usize> = vec![0usize; 65535];
let src: Vec<usize> = vec![0usize; if cfg!(miri) { 256 } else { 65535 }];
let srcptr = src.as_ptr();
let iter = src
.into_iter()
Expand Down

0 comments on commit d888725

Please sign in to comment.