File tree Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Expand file tree Collapse file tree 1 file changed +11
-7
lines changed Original file line number Diff line number Diff line change @@ -179,7 +179,8 @@ pub(crate) mod tests {
179
179
let delete_req = DeleteBucketRequest {
180
180
bucket : inner. bucket . to_owned ( ) ,
181
181
} ;
182
- inner. client
182
+ inner
183
+ . client
183
184
. delete_bucket ( delete_req)
184
185
. sync ( )
185
186
. expect ( "failed to delete test bucket" ) ;
@@ -238,12 +239,15 @@ pub(crate) mod tests {
238
239
"parent/child" ,
239
240
"h/i/g/h/l/y/_/n/e/s/t/e/d/_/d/i/r/e/c/t/o/r/i/e/s" ,
240
241
] ;
241
- let blobs: Vec < _ > = names. iter ( ) . map ( |& path| Blob {
242
- path : path. into ( ) ,
243
- mime : "text/plain" . into ( ) ,
244
- date_updated : Timespec :: new ( 42 , 0 ) ,
245
- content : "Hello world!" . into ( ) ,
246
- } ) . collect ( ) ;
242
+ let blobs: Vec < _ > = names
243
+ . iter ( )
244
+ . map ( |& path| Blob {
245
+ path : path. into ( ) ,
246
+ mime : "text/plain" . into ( ) ,
247
+ date_updated : Timespec :: new ( 42 , 0 ) ,
248
+ content : "Hello world!" . into ( ) ,
249
+ } )
250
+ . collect ( ) ;
247
251
s3. upload ( & blobs) . unwrap ( ) ;
248
252
for blob in & blobs {
249
253
s3. assert_blob ( blob, & blob. path ) ;
You can’t perform that action at this time.
0 commit comments