mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[rubygems/rubygems] Remove unused 'raise' from test_case
https://github.com/rubygems/rubygems/commit/2481efcb37
This commit is contained in:
parent
eb35124cca
commit
7081185664
1 changed files with 0 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue