mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/rake/test_package_task.rb (Rake::TestPackageTask),
(Rake::TestGemPackageTask): get rid of name collision with rubygems. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
72ad8595f2
commit
664c7ef4f6
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'rake/packagetask'
|
require 'rake/packagetask'
|
||||||
|
|
||||||
class TestPackageTask < Test::Unit::TestCase
|
class Rake::TestPackageTask < Test::Unit::TestCase
|
||||||
include Rake
|
include Rake
|
||||||
|
|
||||||
def test_create
|
def test_create
|
||||||
|
@ -61,7 +61,7 @@ end
|
||||||
|
|
||||||
require 'rake/gempackagetask'
|
require 'rake/gempackagetask'
|
||||||
|
|
||||||
class TestGemPackageTask < Test::Unit::TestCase
|
class Rake::TestGemPackageTask < Test::Unit::TestCase
|
||||||
def test_gem_package
|
def test_gem_package
|
||||||
gem = Gem::Specification.new do |g|
|
gem = Gem::Specification.new do |g|
|
||||||
g.name = "pkgr"
|
g.name = "pkgr"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue