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:
Rihards Krišlauks
2021-04-17 18:16:52 +03:00
parent 1649f31258
commit 55e79e34af

View File

@@ -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 {