Fix the searchable settings test

This commit is contained in:
Clément Renault 2021-03-06 12:48:41 +01:00
parent 2924ed31f3
commit e5bb96bc3b
No known key found for this signature in database
GPG Key ID: 92ADA4E935E71FA4

View File

@ -283,7 +283,7 @@ mod tests {
// First we send 3 documents with ids from 1 to 3.
let mut wtxn = index.write_txn().unwrap();
let content = &b"name,age\nkevin,23\nkevina,21\nbenoit,34\n"[..];
let content = &b"id,name,age\n0,kevin,23\n1,kevina,21\n2,benoit,34\n"[..];
let mut builder = IndexDocuments::new(&mut wtxn, &index, 0);
builder.update_format(UpdateFormat::Csv);
builder.execute(content, |_, _| ()).unwrap();