blob: 85026f7eb98f9521452ed81db6a6762866cde936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
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
|