This commit is contained in:
Rob Walker 2018-07-24 12:28:40 -07:00
parent e1fc7444f9
commit 75505bbd72
1 changed files with 2 additions and 2 deletions

View File

@ -786,8 +786,8 @@ mod test {
let num_blobs = erasure::NUM_DATA + 2;
let mut window = generate_window(&blob_recycler, WINDOW_SIZE, num_blobs);
for i in 0..window.len() {
if let Some(blob) = &window[i].data {
for slot in &window {
if let Some(blob) = &slot.data {
let blob_r = blob.read().unwrap();
assert!(!blob_r.is_coding());
}