From 739da9fd4dd1aae5d8b6c1f7ff624b12016d85b0 Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Tue, 13 Dec 2022 15:54:43 +0100 Subject: [PATCH] Add test --- milli/tests/search/distinct.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/milli/tests/search/distinct.rs b/milli/tests/search/distinct.rs index f1e57d288..3c6dd8cc0 100644 --- a/milli/tests/search/distinct.rs +++ b/milli/tests/search/distinct.rs @@ -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,