From 7b51aed69a0df9042e57bf4769588676c1df680d Mon Sep 17 00:00:00 2001 From: Dom Date: Fri, 16 Jun 2023 15:54:31 +0100 Subject: [PATCH] test: use run_len not max_run_len Co-authored-by: Carol (Nichols || Goulding) <193874+carols10cents@users.noreply.github.com> --- mutable_batch/src/payload/partition.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutable_batch/src/payload/partition.rs b/mutable_batch/src/payload/partition.rs index 195f3f3f08..0399b8c1b0 100644 --- a/mutable_batch/src/payload/partition.rs +++ b/mutable_batch/src/payload/partition.rs @@ -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 { let mut x = Vec::with_capacity(run_len); - x.resize(max_run_len, v); + x.resize(run_len, v); x } }