Fix formatting
This commit is contained in:
parent
8f4ada1965
commit
9a50ce12a8
@ -276,9 +276,9 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn parse_bucket_with_key() -> Result<(), Error> {
|
fn parse_bucket_with_key() -> Result<(), Error> {
|
||||||
let (bucket,key) = parse_bucket_key("/my_bucket/a/super/file.jpg")?;
|
let (bucket, key) = parse_bucket_key("/my_bucket/a/super/file.jpg")?;
|
||||||
assert_eq!(bucket, "my_bucket");
|
assert_eq!(bucket, "my_bucket");
|
||||||
assert_eq!(key.expect("key must be set"), "a/super/file.jpg");
|
assert_eq!(key.expect("key must be set"), "a/super/file.jpg");
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user