diff --git a/object_store/src/lib.rs b/object_store/src/lib.rs index 2e4009d62de4..a09360a0aa9b 100644 --- a/object_store/src/lib.rs +++ b/object_store/src/lib.rs @@ -1261,7 +1261,7 @@ mod tests { .filter(|x| { let prefix_match = prefix.as_ref().map(|p| x.prefix_matches(p)).unwrap_or(true); - prefix_match && x > &offset + prefix_match && (x > &offset) }) .cloned() .collect();