From 7f88c4ff2f90cabb1fd8d3d93dbd81edee2318df Mon Sep 17 00:00:00 2001 From: ManyTheFish Date: Tue, 13 Dec 2022 16:21:31 +0100 Subject: [PATCH] Fix #1714 test --- milli/src/update/index_documents/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/milli/src/update/index_documents/mod.rs b/milli/src/update/index_documents/mod.rs index 74a8d2779..e6d387a0d 100644 --- a/milli/src/update/index_documents/mod.rs +++ b/milli/src/update/index_documents/mod.rs @@ -1575,11 +1575,11 @@ mod tests { let rtxn = index.read_txn().unwrap(); // Only the first document should match. - let count = index.word_docids.get(&rtxn, "化妆包").unwrap().unwrap().len(); + let count = index.word_docids.get(&rtxn, "huàzhuāngbāo").unwrap().unwrap().len(); assert_eq!(count, 1); // Only the second document should match. - let count = index.word_docids.get(&rtxn, "包").unwrap().unwrap().len(); + let count = index.word_docids.get(&rtxn, "bāo").unwrap().unwrap().len(); assert_eq!(count, 1); let mut search = crate::Search::new(&rtxn, &index);