mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Update to RubyGems 1.3.0 r1891
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
788001a9c8
commit
d478c7a734
60 changed files with 2174 additions and 1049 deletions
|
@ -43,7 +43,7 @@ class TestGemCommandsInstallCommand < RubyGemTestCase
|
|||
orig_dir = Dir.pwd
|
||||
begin
|
||||
Dir.chdir @tempdir
|
||||
e = assert_raise Gem::SystemExitException do
|
||||
e = assert_raises Gem::SystemExitException do
|
||||
@cmd.execute
|
||||
end
|
||||
assert_equal 0, e.exit_code
|
||||
|
@ -65,7 +65,7 @@ class TestGemCommandsInstallCommand < RubyGemTestCase
|
|||
@cmd.options[:args] = %w[no_such_gem]
|
||||
|
||||
use_ui @ui do
|
||||
e = assert_raise Gem::SystemExitException do
|
||||
e = assert_raises Gem::SystemExitException do
|
||||
@cmd.execute
|
||||
end
|
||||
assert_equal 2, e.exit_code
|
||||
|
@ -91,7 +91,7 @@ class TestGemCommandsInstallCommand < RubyGemTestCase
|
|||
@cmd.options[:args] = %w[nonexistent]
|
||||
|
||||
use_ui @ui do
|
||||
e = assert_raise Gem::SystemExitException do
|
||||
e = assert_raises Gem::SystemExitException do
|
||||
@cmd.execute
|
||||
end
|
||||
assert_equal 2, e.exit_code
|
||||
|
@ -114,7 +114,7 @@ class TestGemCommandsInstallCommand < RubyGemTestCase
|
|||
@cmd.options[:args] = [@a2.name]
|
||||
|
||||
use_ui @ui do
|
||||
e = assert_raise Gem::SystemExitException do
|
||||
e = assert_raises Gem::SystemExitException do
|
||||
@cmd.execute
|
||||
end
|
||||
assert_equal 0, e.exit_code
|
||||
|
@ -146,7 +146,7 @@ class TestGemCommandsInstallCommand < RubyGemTestCase
|
|||
orig_dir = Dir.pwd
|
||||
begin
|
||||
Dir.chdir @tempdir
|
||||
e = assert_raise Gem::SystemExitException do
|
||||
e = assert_raises Gem::SystemExitException do
|
||||
@cmd.execute
|
||||
end
|
||||
assert_equal 0, e.exit_code
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue