jychen7 commented on code in PR #3663:
URL: https://github.com/apache/arrow-rs/pull/3663#discussion_r1096899379
##########
object_store/src/path/mod.rs:
##########
@@ -551,6 +558,15 @@ mod tests {
assert_eq!(b.raw, c.raw);
}
+ #[test]
+ fn from_url_path() {
+ let a = Path::from_url_path("foo%20bar/baz").unwrap();
+ assert_eq!(a.raw, "foo bar/baz");
+
+ let b = Path::from_url_path("bar/baz").unwrap();
+ assert_eq!(b.raw, "bar/baz");
Review Comment:
added at d14135d3c1b6e2062c48827e3a91f75e4199f4fa
--
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]