Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-pousette committed Jun 10, 2021
1 parent bb8fccf commit 54213e9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,10 +622,9 @@ mod tests {
for doc in docs {
add_document_to_index(&mut idx, &[field_accessor], tokenizer, filter, doc.id, doc)
}
let x = 1;
remove_document_from_index(&mut idx, &mut removed, 1);
let y = 3;
vacuum_index(&mut idx, &mut removed);

assert_eq!(idx.docs.len(), 0);
assert_eq!(idx.fields.len(), 1);
assert_eq!(idx.fields.get(0).unwrap().sum, 0);
Expand Down

0 comments on commit 54213e9

Please sign in to comment.