fixups
This commit is contained in:
@ -786,8 +786,8 @@ mod test {
|
|||||||
let num_blobs = erasure::NUM_DATA + 2;
|
let num_blobs = erasure::NUM_DATA + 2;
|
||||||
let mut window = generate_window(&blob_recycler, WINDOW_SIZE, num_blobs);
|
let mut window = generate_window(&blob_recycler, WINDOW_SIZE, num_blobs);
|
||||||
|
|
||||||
for i in 0..window.len() {
|
for slot in &window {
|
||||||
if let Some(blob) = &window[i].data {
|
if let Some(blob) = &slot.data {
|
||||||
let blob_r = blob.read().unwrap();
|
let blob_r = blob.read().unwrap();
|
||||||
assert!(!blob_r.is_coding());
|
assert!(!blob_r.is_coding());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user