This is an automated email from the ASF dual-hosted git repository.

xuanwo pushed a commit to branch registry-more
in repository https://gitbox.apache.org/repos/asf/opendal.git

commit e71fc6983c2bda9d1e099100e88bdda9c707d7b8
Author: Xuanwo <[email protected]>
AuthorDate: Wed Oct 1 19:58:09 2025 +0800

    Fix fs
    
    Signed-off-by: Xuanwo <[email protected]>
---
 core/src/services/fs/backend.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/core/src/services/fs/backend.rs b/core/src/services/fs/backend.rs
index 0b616bc7d..156c4006d 100644
--- a/core/src/services/fs/backend.rs
+++ b/core/src/services/fs/backend.rs
@@ -293,11 +293,12 @@ mod tests {
     use super::*;
     use crate::types::OperatorUri;
     use crate::Configurator;
+    use http::Uri;
 
     #[test]
     fn from_uri_extracts_root() {
         let uri = OperatorUri::new(
-            "fs:///tmp/data".parse().unwrap(),
+            Uri::from_static("fs://tmp/data"),
             Vec::<(String, String)>::new(),
         )
         .unwrap();

Reply via email to