Fix formatting

This commit is contained in:
Quentin 2020-11-07 13:59:30 +01:00
parent 8f4ada1965
commit 9a50ce12a8

View File

@ -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(())
} }
} }