You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opendal.apache.org by "suyanhanx (via GitHub)" <gi...@apache.org> on 2023/04/12 11:20:40 UTC

[GitHub] [incubator-opendal] suyanhanx commented on a diff in pull request #1926: refactor: Polish the behavior of scan

suyanhanx commented on code in PR #1926:
URL: https://github.com/apache/incubator-opendal/pull/1926#discussion_r1163990613


##########
core/tests/behavior/list.rs:
##########
@@ -279,6 +280,19 @@ pub async fn test_list_dir_with_file_path(op: Operator) -> Result<()> {
     Ok(())
 }
 
+pub async fn test_scan_root(op: Operator) -> Result<()> {
+    let w = op.scan("").await?;

Review Comment:
   Is the empty string a legal path?



-- 
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: commits-unsubscribe@opendal.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org