test: use run_len not max_run_len

Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com>
pull/24376/head
Dom 2023-06-16 15:54:31 +01:00 committed by GitHub
parent 8dd159456a
commit 7b51aed69a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1087,7 +1087,7 @@ mod tests {
/// up to `max_run_len`,
fn arbitrary_timestamp_run(max_run_len: usize)(v in 0_i64..i64::MAX, run_len in 1..max_run_len) -> Vec<i64> {
let mut x = Vec::with_capacity(run_len);
x.resize(max_run_len, v);
x.resize(run_len, v);
x
}
}