Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jun 19, 2024
1 parent 1985ef0 commit 8058ba9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/core/src/index/revindex/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -626,8 +626,10 @@ mod test {
let selection = Selection::builder().ksize(21).scaled(10000).build();
let output = TempDir::new()?;

let collection = Collection::from_paths(&against)?.select(&selection)?;
let _index = RevIndex::create(output.path(), collection.try_into()?, false);
{
let collection = Collection::from_paths(&against)?.select(&selection)?;
let _index = RevIndex::create(output.path(), collection.try_into()?, false);
}

let index = RevIndex::open(output.path(), true, None)?;

Expand Down

0 comments on commit 8058ba9

Please sign in to comment.