mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
ea2a00d785
CI. * test/rubygems: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
18 lines
358 B
Ruby
18 lines
358 B
Ruby
require 'rubygems/test_case'
|
|
|
|
class TestGemResolverComposedSet < Gem::TestCase
|
|
|
|
def test_remote_equals
|
|
best_set = Gem::Resolver::BestSet.new
|
|
current_set = Gem::Resolver::CurrentSet.new
|
|
|
|
set = Gem::Resolver::ComposedSet.new best_set, current_set
|
|
|
|
set.remote = false
|
|
|
|
refute best_set.remote?
|
|
refute current_set.remote?
|
|
end
|
|
|
|
end
|
|
|