diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/api/api_server.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api/api_server.rs b/src/api/api_server.rs index dfdd4687..507e6a9d 100644 --- a/src/api/api_server.rs +++ b/src/api/api_server.rs @@ -276,9 +276,9 @@ 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"); + assert_eq!(key.expect("key must be set"), "a/super/file.jpg"); Ok(()) } } |