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 e4689e6de7 Fix invalid_path test (#5026)
e4689e6de7 is described below

commit e4689e6de7f5f995a47fe563b60f81dedc497681
Author: Raphael Taylor-Davies <[email protected]>
AuthorDate: Thu Nov 2 15:27:25 2023 +0000

    Fix invalid_path test (#5026)
---
 object_store/src/local.rs | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/object_store/src/local.rs b/object_store/src/local.rs
index e5c4e32046..dd71d9ec12 100644
--- a/object_store/src/local.rs
+++ b/object_store/src/local.rs
@@ -1384,13 +1384,14 @@ mod tests {
         std::fs::write(emoji, "foo").unwrap();
 
         // Can list illegal file
-        let paths = flatten_list_stream(&integration, None).await.unwrap();
+        let mut paths = flatten_list_stream(&integration, None).await.unwrap();
+        paths.sort_unstable();
 
         assert_eq!(
             paths,
             vec![
-                Path::parse("💀").unwrap(),
-                Path::parse("directory/child.txt").unwrap()
+                Path::parse("directory/child.txt").unwrap(),
+                Path::parse("💀").unwrap()
             ]
         );
     }

Reply via email to