diff --git a/src/codec/standard/postings/block_segment_postings.rs b/src/codec/standard/postings/block_segment_postings.rs index 094ec21a7..d887c40c7 100644 --- a/src/codec/standard/postings/block_segment_postings.rs +++ b/src/codec/standard/postings/block_segment_postings.rs @@ -439,7 +439,7 @@ mod tests { #[test] fn test_block_segment_postings_seek() -> crate::Result<()> { - let mut docs = vec![0]; + let mut docs = Vec::new(); for i in 0..1300 { docs.push((i * i / 100) + i); }