diff --git a/yazi-fs/src/path/expand.rs b/yazi-fs/src/path/expand.rs index d016d91a..12be0269 100644 --- a/yazi-fs/src/path/expand.rs +++ b/yazi-fs/src/path/expand.rs @@ -130,7 +130,7 @@ mod tests { for (input, expected) in cases { let u: UrlBuf = input.parse()?; - assert_eq!(format!("{:?}", expand_url(u)), expected); + assert_eq!(format!("{:?}", expand_url(u).as_url()), expected); } Ok(())