From 55e79e34af30efe28b1084bf0606e56608e9ccd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rihards=20Kri=C5=A1lauks?= Date: Sat, 17 Apr 2021 18:16:52 +0300 Subject: [PATCH] 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). --- src/fastfield/multivalued/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fastfield/multivalued/mod.rs b/src/fastfield/multivalued/mod.rs index 8478f1617..2027648ea 100644 --- a/src/fastfield/multivalued/mod.rs +++ b/src/fastfield/multivalued/mod.rs @@ -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 {