Skip to content

Commit

Permalink
fix: adapt bench/bench.ml to the new API
Browse files Browse the repository at this point in the history
  • Loading branch information
FardaleM committed Oct 31, 2024
1 parent a9d2e86 commit e1e2f4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/bench.ml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ let make_test idx_file with_feats ty =
with Sys_error _ ->
failwith @@ Fmt.str "cannot open index file `%a'" Fpath.pp idx_file
in
let find = if with_feats then Db.find else Db.find_exhaustive in
find db env ty
let filter = if with_feats then `Default else `None in
Db.find ~filter db env ty
in
let free _ = () in
Test.make_with_resource ~name Test.multiple ~allocate ~free
Expand Down

0 comments on commit e1e2f4d

Please sign in to comment.