aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin <quentin@deuxfleurs.fr>2020-11-07 13:59:30 +0100
committerQuentin <quentin@deuxfleurs.fr>2020-11-07 13:59:30 +0100
commit9a50ce12a8f334a306022921a4941a1ff37c8a8b (patch)
tree2bd41800001877bec9649a39a9a4986c1d164fe0
parent8f4ada196559f6db17628842bd90e0023b7a4e77 (diff)
downloadgarage-9a50ce12a8f334a306022921a4941a1ff37c8a8b.tar.gz
garage-9a50ce12a8f334a306022921a4941a1ff37c8a8b.zip
Fix formatting
-rw-r--r--src/api/api_server.rs4
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(())
}
}