Skip to content

Commit

Permalink
test_data
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfran committed Nov 26, 2023
1 parent 324b4d4 commit 9817161
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ mod tests {
println!("POSTINGS SIZE: {}", i.postings.len());
println!("apple idx: {}", idx);

assert!(i
.postings
.get(idx)
.unwrap()
.iter()
.all(|d| expected.contains(d)))
let p = i.postings.get(idx);

println!("p: {:?}", p);

assert!(p.is_some());
assert!(p.unwrap().iter().all(|d| expected.contains(d)))
}
}

0 comments on commit 9817161

Please sign in to comment.