You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2023/04/21 18:06:55 UTC

[arrow-rs] branch master updated: Fix object_store tests with latest aho_corasick (#4109)

This is an automated email from the ASF dual-hosted git repository.

tustvold pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git


The following commit(s) were added to refs/heads/master by this push:
     new b99af3c3c Fix object_store tests with latest aho_corasick (#4109)
b99af3c3c is described below

commit b99af3c3c07348e6c1c76095a659d9d0169ae09e
Author: Raphael Taylor-Davies <17...@users.noreply.github.com>
AuthorDate: Fri Apr 21 14:06:48 2023 -0400

    Fix object_store tests with latest aho_corasick (#4109)
---
 object_store/src/util.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/object_store/src/util.rs b/object_store/src/util.rs
index 08bfd86d9..1ec63f219 100644
--- a/object_store/src/util.rs
+++ b/object_store/src/util.rs
@@ -229,7 +229,7 @@ mod tests {
     #[tokio::test]
     async fn test_coalesce_ranges() {
         let fetches = do_fetch(vec![], 0).await;
-        assert_eq!(fetches, vec![]);
+        assert!(fetches.is_empty());
 
         let fetches = do_fetch(vec![0..3], 0).await;
         assert_eq!(fetches, vec![0..3]);