Skip to content

Commit

Permalink
Fix invalid_path test
Browse files Browse the repository at this point in the history
  • Loading branch information
tustvold committed Nov 2, 2023
1 parent ad211fe commit 10ba977
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 10ba977

Please sign in to comment.