Update TR challenger test slice out of bounds

This commit is contained in:
Mingwei Samuel 2021-01-16 13:25:34 -08:00
parent 4b5776ca8d
commit 6c3d51a071

View file

@ -22,7 +22,7 @@ async_tests!{
println!("{:?} Challenger {} entries.", REGION, ll.entries.len());
let sl = ll.entries[..50].iter()
let sl = ll.entries.iter().take(50)
.map(|entry| RIOT_API.summoner_v4().get_by_summoner_id(REGION, &entry.summoner_id))
.map(tokio::spawn)
.collect::<Vec<_>>();