mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Set the expected hash in one step
https://github.com/rubygems/rubygems/commit/25912ce6c9
This commit is contained in:
parent
34527927e8
commit
779f1a9c69
Notes:
git
2020-07-31 21:08:15 +09:00
1 changed files with 4 additions and 5 deletions
|
@ -91,14 +91,13 @@ class TestGemPackage < Gem::Package::TarTestCase
|
|||
'SHA512' => {
|
||||
'metadata.gz' => metadata_sha512,
|
||||
'data.tar.gz' => Digest::SHA512.hexdigest(tar),
|
||||
},
|
||||
'SHA256' => {
|
||||
'metadata.gz' => metadata_sha256,
|
||||
'data.tar.gz' => Digest::SHA256.hexdigest(tar),
|
||||
}
|
||||
}
|
||||
|
||||
expected['SHA256'] = {
|
||||
'metadata.gz' => metadata_sha256,
|
||||
'data.tar.gz' => Digest::SHA256.hexdigest(tar),
|
||||
}
|
||||
|
||||
assert_equal expected, YAML.load(checksums)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue