Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Commit

Permalink
Merge #741
Browse files Browse the repository at this point in the history
741: Add test reproducing the bug fixed by #737 r=Kerollmops a=ManyTheFish

related to #737

Co-authored-by: ManyTheFish <many@meilisearch.com>
  • Loading branch information
bors[bot] and ManyTheFish authored Dec 13, 2022
2 parents 2af9396 + 739da9f commit e2ffc3d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions milli/tests/search/distinct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,14 @@ test_distinct!(
vec![Words, Typo, Proximity, Attribute, Exactness],
7
);
test_distinct!(
exhaustive_distinct_number_weird_order_criteria,
asc_desc_rank,
true,
0,
vec![Desc(S("attribute_rank")), Desc(S("exactness_rank")), Exactness, Typo],
7
);

test_distinct!(
distinct_string_default_criteria,
Expand Down

0 comments on commit e2ffc3d

Please sign in to comment.