Unit Tests #9

Merged
lx merged 4 commits from feature/unit-tests into master 2020-11-08 12:41:00 +00:00
Showing only changes of commit 9a50ce12a8 - Show all commits

View file

@ -276,7 +276,7 @@ mod tests {
#[test]
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!(key.expect("key must be set"), "a/super/file.jpg");
Ok(())