alamb commented on code in PR #3713:
URL: https://github.com/apache/arrow-rs/pull/3713#discussion_r1105050629
##########
object_store/src/lib.rs:
##########
@@ -911,9 +911,27 @@ mod tests {
let content_list = flatten_list_stream(storage,
Some(&prefix)).await.unwrap();
assert_eq!(content_list, &[location1.clone()]);
+ let result = storage.list_with_delimiter(Some(&prefix)).await.unwrap();
+ assert_eq!(result.objects.len(), 1);
+ assert_eq!(result.objects[0].location, location1);
+ assert_eq!(result.common_prefixes, &[]);
+
+ let content_list = flatten_list_stream(storage, Some(&location1))
Review Comment:
```suggestion
// Listing an existing path (file) should return an empty list:
// https://github.com/apache/arrow-rs/issues/3712
let content_list = flatten_list_stream(storage, Some(&location1))
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]