fix split_query_string

This commit is contained in:
mpostma
2020-11-26 20:19:15 +01:00
committed by many
parent c6434f609c
commit b574960755
3 changed files with 6 additions and 22 deletions

View File

@ -882,6 +882,7 @@ mod tests {
// even try to search for a document
let reader = db.main_read_txn().unwrap();
println!("here");
let SortResult {documents, .. } = index.query_builder().query(&reader, Some("21 "), 0..20).unwrap();
assert_matches!(documents.len(), 1);