[前][次][番号順一覧][スレッド一覧]

ruby-changes:62450

From: David <ko1@a...>
Date: Fri, 31 Jul 2020 21:08:22 +0900 (JST)
Subject: [ruby-changes:62450] 06f84d0567 (master): [rubygems/rubygems] Don't `super` on main test setup

https://git.ruby-lang.org/ruby.git/commit/?id=06f84d0567

From 06f84d05678aa516c9bc97719eff44e4355d3c59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Wed, 8 Jul 2020 21:13:33 +0200
Subject: [rubygems/rubygems] Don't `super` on main test setup

The `teardown` method doesn't call it either and I don't think it's
necessary.

https://github.com/rubygems/rubygems/commit/ca2a5d485d

diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb
index a70a105..14d080e 100644
--- a/lib/rubygems/test_case.rb
+++ b/lib/rubygems/test_case.rb
@@ -289,8 +289,6 @@ class Gem::TestCase < Minitest::Test https://github.com/ruby/ruby/blob/trunk/lib/rubygems/test_case.rb#L289
   # or <tt>i686-darwin8.10.1</tt> otherwise.
 
   def setup
-    super
-
     @orig_env = ENV.to_hash
     @tmp = File.expand_path("tmp")
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]