mirror of
https://github.com/meilisearch/MeiliSearch
synced 2024-11-26 23:04:26 +01:00
Fix tests
This commit is contained in:
parent
7473cc6e27
commit
caaf8d3f40
@ -456,7 +456,7 @@ mod test {
|
|||||||
|
|
||||||
let all_formatted = Vec::new();
|
let all_formatted = Vec::new();
|
||||||
let to_highlight_ids = HashSet::new();
|
let to_highlight_ids = HashSet::new();
|
||||||
let to_crop_ids = HashSet::new();
|
let to_crop_ids = HashMap::new();
|
||||||
|
|
||||||
let matching_words = MatchingWords::default();
|
let matching_words = MatchingWords::default();
|
||||||
|
|
||||||
@ -493,7 +493,7 @@ mod test {
|
|||||||
|
|
||||||
let all_formatted = vec![id];
|
let all_formatted = vec![id];
|
||||||
let to_highlight_ids = HashSet::new();
|
let to_highlight_ids = HashSet::new();
|
||||||
let to_crop_ids = HashSet::new();
|
let to_crop_ids = HashMap::new();
|
||||||
|
|
||||||
let matching_words = MatchingWords::default();
|
let matching_words = MatchingWords::default();
|
||||||
|
|
||||||
@ -530,7 +530,7 @@ mod test {
|
|||||||
|
|
||||||
let all_formatted = vec![id];
|
let all_formatted = vec![id];
|
||||||
let to_highlight_ids = HashSet::from_iter(Some(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")));
|
let matching_words = HashSet::from_iter(Some(String::from("hello")));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user