[rubygems/rubygems] Remove unnecessary check

No check is done for the other expectation and they are completely
symmetric as far as I can see.

4de89e0718
This commit is contained in:
David Rodríguez 2020-07-11 10:47:42 +02:00 committed by Hiroshi SHIBATA
parent 69fa0d6d30
commit 34527927e8
Notes: git 2020-07-31 21:08:16 +09:00

View file

@ -94,12 +94,10 @@ class TestGemPackage < Gem::Package::TarTestCase
}
}
if defined?(OpenSSL::Digest)
expected['SHA256'] = {
'metadata.gz' => metadata_sha256,
'data.tar.gz' => Digest::SHA256.hexdigest(tar),
}
end
assert_equal expected, YAML.load(checksums)
end