fix tests after rebase

This commit is contained in:
Tamo 2022-04-07 17:00:00 +02:00
parent 4f3ce6d9cd
commit ab458d8840
No known key found for this signature in database
GPG Key ID: 20CD8020AFA88D69
1 changed files with 2 additions and 1 deletions

View File

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