mirror of
https://github.com/ruby/ruby.git
synced 2025-09-22 12:04:01 +02:00
[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:
parent
69fa0d6d30
commit
34527927e8
Notes:
git
2020-07-31 21:08:16 +09:00
1 changed files with 4 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue