mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
Importing rubygems @ c2d4131: Deal with platforms that have DLEXT2 == nil. Fixes RF#28867
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
df2762fb1a
commit
64847a9cfe
10 changed files with 274 additions and 91 deletions
|
@ -90,7 +90,9 @@ class TestGemCommandsSourcesCommand < RubyGemTestCase
|
|||
util_setup_spec_fetcher
|
||||
|
||||
use_ui @ui do
|
||||
@cmd.execute
|
||||
assert_raises MockGemUi::TermError do
|
||||
@cmd.execute
|
||||
end
|
||||
end
|
||||
|
||||
expected = <<-EOF
|
||||
|
@ -108,7 +110,9 @@ Error fetching http://beta-gems.example.com:
|
|||
util_setup_spec_fetcher
|
||||
|
||||
use_ui @ui do
|
||||
@cmd.execute
|
||||
assert_raises MockGemUi::TermError do
|
||||
@cmd.execute
|
||||
end
|
||||
end
|
||||
|
||||
assert_equal [@gem_repo], Gem.sources
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue