From 7081185664d438661a312eb3a12adcc84568b07e Mon Sep 17 00:00:00 2001 From: bronzdoc Date: Sat, 29 Jun 2019 23:50:40 -0600 Subject: [PATCH] [rubygems/rubygems] Remove unused 'raise' from test_case https://github.com/rubygems/rubygems/commit/2481efcb37 --- lib/rubygems/test_case.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/rubygems/test_case.rb b/lib/rubygems/test_case.rb index 934d27aedd..0d2884b5bf 100644 --- a/lib/rubygems/test_case.rb +++ b/lib/rubygems/test_case.rb @@ -805,9 +805,6 @@ class Gem::TestCase < (defined?(Minitest::Test) ? Minitest::Test : MiniTest::Uni # location are returned. def util_gem(name, version, deps = nil, &block) - # TODO: deprecate - raise "deps or block, not both" if deps and block - if deps block = proc do |s| # Since Hash#each is unordered in 1.8, sort