fix test set

fix dump tests
This commit is contained in:
many
2021-01-05 15:27:24 +01:00
committed by mpostma
parent 0731971300
commit 677627586c
5 changed files with 147 additions and 58 deletions

View File

@ -444,7 +444,7 @@ mod tests {
for index in indexes {
let name = index.attribute.to_string();
schema.insert(&name).unwrap();
let indexed_pos = schema.set_indexed(&name).unwrap().1;
let indexed_pos = schema.insert_with_position(&name).unwrap().1;
let index = DocIndex {
attribute: indexed_pos.0,
..*index