ruby-changes:57915
From: bronzdoc <ko1@a...>
Date: Thu, 26 Sep 2019 18:17:50 +0900 (JST)
Subject: [ruby-changes:57915] 0b65a7a19e (master): [rubygems/rubygems] Fix test_gem_attr
https://git.ruby-lang.org/ruby.git/commit/?id=0b65a7a19e From 0b65a7a19e949eece72a6a961a2642c0e5e19eb0 Mon Sep 17 00:00:00 2001 From: bronzdoc <lsagastume1990@g...> Date: Wed, 25 Sep 2019 19:31:57 -0600 Subject: [rubygems/rubygems] Fix test_gem_attr https://github.com/rubygems/rubygems/commit/7c5b66f9ef diff --git a/test/rubygems/test_gem_package.rb b/test/rubygems/test_gem_package.rb index a282e0c..a4df2bd 100644 --- a/test/rubygems/test_gem_package.rb +++ b/test/rubygems/test_gem_package.rb @@ -1120,10 +1120,10 @@ class TestGemPackage < Gem::Package::TarTestCase https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_package.rb#L1120 assert_equal @spec, package.spec end - def test_gem_attr - package = Gem::Package.new(@gem) - assert_equal(package.gem, @gem) - end + def test_gem_attr + package = Gem::Package.new(@gem) + assert_equal(package.gem.path, @gem) + end def test_spec_from_io # This functionality is used by rubygems.org to extract spec data from an -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/