diff --git a/meilidb-core/src/raw_indexer.rs b/meilidb-core/src/raw_indexer.rs index 13c87f5c3..988a5182e 100644 --- a/meilidb-core/src/raw_indexer.rs +++ b/meilidb-core/src/raw_indexer.rs @@ -199,10 +199,8 @@ mod tests { assert!(words_doc_indexes.get(&b"aspirateur"[..]).is_some()); assert!(words_doc_indexes.get(&b"ai"[..]).is_some()); assert!(words_doc_indexes.get(&b"eteindre"[..]).is_some()); - - // with the ugly apostrophe... assert!(words_doc_indexes - .get(&"l’éteindre".to_owned().into_bytes()) + .get(&"éteindre".to_owned().into_bytes()) .is_some()); } @@ -223,10 +221,8 @@ mod tests { assert!(words_doc_indexes.get(&b"aspirateur"[..]).is_some()); assert!(words_doc_indexes.get(&b"ai"[..]).is_some()); assert!(words_doc_indexes.get(&b"eteindre"[..]).is_some()); - - // with the ugly apostrophe... assert!(words_doc_indexes - .get(&"l’éteindre".to_owned().into_bytes()) + .get(&"éteindre".to_owned().into_bytes()) .is_some()); } @@ -252,10 +248,8 @@ mod tests { assert!(words_doc_indexes.get(&b"ai"[..]).is_none()); assert!(words_doc_indexes.get(&b"de"[..]).is_none()); assert!(words_doc_indexes.get(&b"eteindre"[..]).is_some()); - - // with the ugly apostrophe... assert!(words_doc_indexes - .get(&"l’éteindre".to_owned().into_bytes()) + .get(&"éteindre".to_owned().into_bytes()) .is_some()); } }