ruby-changes:62487
From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:09:02 +0900 (JST)
Subject: [ruby-changes:62487] 779f1a9c69 (master): [rubygems/rubygems] Set the expected hash in one step
https://git.ruby-lang.org/ruby.git/commit/?id=779f1a9c69 From 779f1a9c69d4fa380a1d3ee7cb0c59a111278de4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...> Date: Sat, 11 Jul 2020 10:48:52 +0200 Subject: [rubygems/rubygems] Set the expected hash in one step https://github.com/rubygems/rubygems/commit/25912ce6c9 diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb index 1ae9765..1a9ca15 100644 --- a/test/rubygems/test_gem_package.rb +++ b/test/rubygems/test_gem_package.rb @@ -91,14 +91,13 @@ class TestGemPackage < Gem::Package::TarTestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package.rb#L91 '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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/