From ab458d88408687cc5510502efecf9a65a2835270 Mon Sep 17 00:00:00 2001 From: Tamo Date: Thu, 7 Apr 2022 17:00:00 +0200 Subject: [PATCH] fix tests after rebase --- milli/tests/search/typo_tolerance.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/milli/tests/search/typo_tolerance.rs b/milli/tests/search/typo_tolerance.rs index 35cc4b4c2..9a7986c5e 100644 --- a/milli/tests/search/typo_tolerance.rs +++ b/milli/tests/search/typo_tolerance.rs @@ -130,7 +130,8 @@ fn test_typo_disabled_on_word() { let mut txn = index.write_txn().unwrap(); let config = IndexerConfig::default(); let indexing_config = IndexDocumentsConfig::default(); - let mut builder = IndexDocuments::new(&mut txn, &index, &config, indexing_config, |_| ()); + let mut builder = + IndexDocuments::new(&mut txn, &index, &config, indexing_config, |_| ()).unwrap(); builder.add_documents(documents).unwrap();