This commit is contained in:
Rob Walker
2018-07-24 12:28:40 -07:00
parent e1fc7444f9
commit 75505bbd72

View File

@ -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());
} }