@@ -265,15 +265,15 @@ public void testUploadPart_withCustomChecksum() throws IOException {
265265 .crc32c (content .getCrc32cBase64 ())
266266 .build ();
267267 UploadPartResponse response =
268- multipartUploadClient .uploadPart (request , RequestBody .of (content .asByteBuffer ()));
268+ multipartUploadClient .uploadPart (request , RequestBody .of (content .asByteBuffer ()));
269269 assertThat (response ).isNotNull ();
270270 assertThat (response .eTag ()).isNotNull ();
271271
272272 abortMultipartUpload (info , uploadId );
273- }
273+ }
274274
275- @ Test
276- public void testUploadPart_withCustomChecksum_fail () throws IOException {
275+ @ Test
276+ public void testUploadPart_withCustomChecksum_fail () throws IOException {
277277 BlobInfo info = BlobInfo .newBuilder (bucket , generator .randomObjectName ()).build ();
278278 CreateMultipartUploadResponse createResponse = createMultipartUpload (info );
279279 String uploadId = createResponse .uploadId ();
@@ -293,7 +293,8 @@ public void testUploadPart_withCustomChecksum_fail() throws IOException {
293293 multipartUploadClient .uploadPart (request , RequestBody .of (content .asByteBuffer ()));
294294 fail ("Expected StorageException" );
295295 } catch (StorageException e ) {
296- assertThat (e .getMessage ()).contains ("The CRC32C you specified did not match what we computed." );
296+ assertThat (e .getMessage ())
297+ .contains ("The CRC32C you specified did not match what we computed." );
297298 } finally {
298299 abortMultipartUpload (info , uploadId );
299300 }
0 commit comments