File tree Expand file tree Collapse file tree
google-cloud-storage/src/test/java/com/google/cloud/storage/it Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1447,11 +1447,11 @@ public void testReadCompressedBlob() throws IOException {
14471447 @ Test
14481448 public void testBlobNameNormalization () {
14491449 for (String blobName : BLOB_NORMALIZATION .keySet ()) {
1450- BlobInfo blobInfoFormC = BlobInfo .newBuilder (BlobId .of (BUCKET , blobName ))
1450+ BlobInfo blobInfo = BlobInfo .newBuilder (BlobId .of (BUCKET , blobName ))
14511451 .setContentType ("text/plain" )
14521452 .setContentEncoding ("UTF-8" )
14531453 .build ();
1454- Blob blob = storage .create (blobInfoFormC , BLOB_NORMALIZATION .get (blobName ).getBytes ());
1454+ Blob blob = storage .create (blobInfo , BLOB_NORMALIZATION .get (blobName ).getBytes ());
14551455 assertEquals (blobName , blob .getName ());
14561456
14571457 String content = new String (storage .get (BlobId .of (BUCKET , blobName )).getContent ());
You can’t perform that action at this time.
0 commit comments