Skip to content

Commit

Permalink
Fix invalid_path test (#5026)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold authored Nov 2, 2023
1 parent 829708d commit e4689e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions object_store/src/local.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
]
);
}
Expand Down

0 comments on commit e4689e6

Please sign in to comment.