mirror of
https://github.com/quickwit-oss/tantivy.git
synced 2026-06-05 01:50:42 +00:00
Verified that the change in datetime range test was correct
The value that was previously there was 3 and it made the test fail when i enabled it. Verified that it, indeed, should have been 2 instead (the testing code previously contained an error).
This commit is contained in:
@@ -164,7 +164,7 @@ mod tests {
|
||||
let retrieved_doc = searcher.doc(doc_pair.1).expect("cannot fetch doc");
|
||||
let offset_sec = match i {
|
||||
0 => 1,
|
||||
1 => 2, // TODO! changed so that the test passes
|
||||
1 => 2,
|
||||
_ => panic!("should not have more than 2 docs"),
|
||||
};
|
||||
let time_i_val = match i {
|
||||
|
||||
Reference in New Issue
Block a user