Skip to content

Commit

Permalink
reduce test size for Miri
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Mar 5, 2020
1 parent 96bb8b3 commit 2770f30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/liballoc/tests/slice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1733,9 +1733,9 @@ fn panic_safe() {
let moduli = &[5, 20, 50];

#[cfg(miri)]
let lens = 1..13;
let lens = 1..10;
#[cfg(miri)]
let moduli = &[10];
let moduli = &[5];

for len in lens {
for &modulus in moduli {
Expand Down

0 comments on commit 2770f30

Please sign in to comment.