Fix tests

This commit is contained in:
Clémentine Urquizar 2021-06-03 17:54:53 +02:00
parent 7473cc6e27
commit caaf8d3f40
No known key found for this signature in database
GPG Key ID: D8E7CC7422E77E1A

View File

@ -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")));