fix tests

This commit is contained in:
marin postma 2021-10-24 14:41:36 +02:00
parent 0f86d6b28f
commit 2e62925a6e
No known key found for this signature in database
GPG key ID: 6088B7721C3E39F9
8 changed files with 49 additions and 55 deletions

View file

@ -953,6 +953,7 @@ pub(crate) mod tests {
{ "id": 1, "name": "kevin", "has_dog": true },
{ "id": 2, "name": "bob" }
]);
let mut wtxn = index.write_txn().unwrap();
let builder = IndexDocuments::new(&mut wtxn, &index, 0);
builder.execute(content, |_, _| ()).unwrap();