From caaf8d3f4077317d497bd777379a3441b00ddc5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9mentine=20Urquizar?= Date: Thu, 3 Jun 2021 17:54:53 +0200 Subject: [PATCH] Fix tests --- meilisearch-http/src/index/search.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meilisearch-http/src/index/search.rs b/meilisearch-http/src/index/search.rs index 760357b9a..eb6f98d87 100644 --- a/meilisearch-http/src/index/search.rs +++ b/meilisearch-http/src/index/search.rs @@ -456,7 +456,7 @@ mod test { let all_formatted = Vec::new(); let to_highlight_ids = HashSet::new(); - let to_crop_ids = HashSet::new(); + let to_crop_ids = HashMap::new(); let matching_words = MatchingWords::default(); @@ -493,7 +493,7 @@ mod test { let all_formatted = vec![id]; let to_highlight_ids = HashSet::new(); - let to_crop_ids = HashSet::new(); + let to_crop_ids = HashMap::new(); let matching_words = MatchingWords::default(); @@ -530,7 +530,7 @@ mod test { let all_formatted = vec![id]; let to_highlight_ids = HashSet::from_iter(Some(id)); - let to_crop_ids = HashSet::new(); + let to_crop_ids = HashMap::new(); let matching_words = HashSet::from_iter(Some(String::from("hello")));