mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-05-25 20:50:43 +00:00
issue/96 Fixed unit test condition to something reasonable
This commit is contained in:
@@ -702,7 +702,7 @@ mod tests {
|
||||
index.load_searchers().unwrap();
|
||||
|
||||
assert_eq!(num_docs_containing("a"), 200);
|
||||
assert_eq!(index.searchable_segments().unwrap().len(), 1);
|
||||
assert!(index.searchable_segments().unwrap().len() < 8);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user