From 9a50ce12a8f334a306022921a4941a1ff37c8a8b Mon Sep 17 00:00:00 2001 From: Quentin Date: Sat, 7 Nov 2020 13:59:30 +0100 Subject: [PATCH] Fix formatting --- src/api/api_server.rs | 4 ++-- 1 file 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(()) } }