Skip to content

Commit 8a69368

Browse files
fix
1 parent 5b42705 commit 8a69368

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

google-cloud-storage/test/helper.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,9 @@ def restore_file_gapi bucket, file_name, generation=nil
614614
end
615615

616616
def set_crc32c_as_default md5, crc32c, checksum
617-
# If no checksum type or specific value is provided, the default will be set to crc32c.
618-
# If the checksum is set to false, it will be disabled. if [checksum, crc32c, md5].all?(&:nil?) || checksum == true
617+
# If no checksum type or specific value is provided, the default will be set to crc32c.
618+
# If the checksum is set to false, it will be disabled.
619+
if [checksum, crc32c, md5].all?(&:nil?) || checksum == true
619620
crc32c = Google::Cloud::Storage::File::Verifier.crc32c_for(StringIO.new("Hello world"))
620621
end
621622
crc32c

0 commit comments

Comments
 (0)