ruby-changes:32787
From: naruse <ko1@a...>
Date: Fri, 7 Feb 2014 03:11:16 +0900 (JST)
Subject: [ruby-changes:32787] naruse:r44866 (ruby_2_1): Add missing file of r44858
naruse 2014-02-07 03:11:13 +0900 (Fri, 07 Feb 2014) New Revision: 44866 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44866 Log: Add missing file of r44858 Added files: branches/ruby_2_1/test/rubygems/test_gem_resolver_composed_set.rb Index: ruby_2_1/test/rubygems/test_gem_resolver_composed_set.rb =================================================================== --- ruby_2_1/test/rubygems/test_gem_resolver_composed_set.rb (revision 0) +++ ruby_2_1/test/rubygems/test_gem_resolver_composed_set.rb (revision 44866) @@ -0,0 +1,18 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_1/test/rubygems/test_gem_resolver_composed_set.rb#L1 +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 + -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/